1 / 39

Introduction to Managed Development for Devices

Agenda. Visual Studio 2005Overview and GoalsApplication conversion and developmentImprovements to CF 1.0 for WM5.0New CF 2.0 libraries. Visual Studio 2003 Features. In our first version toolset we haveVisual Basic and C

bono
Download Presentation

Introduction to Managed Development for Devices

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


    1. Introduction to Managed Development for Devices Marcus Perryman marcpe@microsoft.com http://blogs.msdn.com/marcpe

    2. Agenda Visual Studio 2005 Overview and Goals Application conversion and development Improvements to CF 1.0 for WM5.0 New CF 2.0 libraries

    3. Visual Studio 2003 Features In our first version toolset we have Visual Basic and C# Project types Application Class Library Cross-language debugging Forms Designer X86-based emulator SQLCE 2.0 for PPC Build CAB for PPC

    4. Customer Feedback Visual Studio 2003 was a great start, but we need more… Better emulator Forms Designer improvements Custom Controls support Data Designer support Customized CAB creation App/CAB Signing COM Interop Remote tools Accurate Intellisense NetCF V1 Project Support Porting from VS 2003 SDK Extensibility

    5. Development Tools for Windows Mobile 5.0 Visual Studio 2005 is the single development tool for Windows Mobile 5.0 development Supports build, deploy, debug across NET CF 1.0, 2.0 and native code for 2003 devices upward Integrates device development completely to Visual Studio development environment Managed and native development in one place Intellisense Remote Tools eVC3, eVC4 and VS .NET 2003 Apps still run Cannot debug or deploy direct to Windows Mobile 5.0

    6. New with Visual Studio 2005 True ARM emulator with higher fidelity Same executable/CAB for device and emulator Realistic device performance Direct3D and GAPI support New debugger Brand new architecture rewritten from line 0 Optimized for USB 2.0 performance New designers Improved UI designers (docking and anchoring) Data designers (drag, drop, bind SQL to forms) Improved CAB designer support (new project type)

    7. DEMO

    8. Windows Mobile 5.0 Development Platform

    9. Windows Mobile 5.0 SDK Adds Windows Mobile 5.0 support to Visual Studio 2005 Headers and libraries Emulator images Available as a free download http://msdn.microsoft.com/mobility/windowsmobile/downloads/default.aspx Integrated to most MSDN subscriptions

    10. Windows Mobile 5.0 SDK Documentation Distribution through SDK is hard to service Windows Mobile 5.0 docs refreshed monthly online (MSDN) Integrates through Visual Studio 2005 Windows Mobile 5.0 docs updated quarterly (MSDN Library) Installs into Visual Studio 2005 for offline viewing Visual Studio 2005 includes years subscription Annual MSDN Library subscription is $140

    11. Compatibility Applications written using prior versions of the .NET Compact Framework just work on new versions Goal is full backward compatibility New versions of .NET Compact Framework run on previous versions of Windows CE and Windows Mobile Windows Mobile support policy: n-2 Windows CE support policy: n-1

    12. Release Roadmap

    13. Easy Learning Chart!

    14. Release Vehicles OEMs Adaptation Kits (and AKUs) Platform Builder (and PB Updates) Developers Microsoft Visual Studio (and SPs) Developer Redistributable on microsoft.com .NET Developer Platform SDK (New!) End Users In ROM on their device In the setup of their applications End User Redistributable on microsoft.com

    15. V2 Drivers Customer feedback New devices New operating system features New .NET features Continuous improvement

    16. Improvements In V2 Language & Tools GUI Class Libraries Native Code Interop Security Performance

    17. Generics Classes and methods that work similarly on values of different types Variables are specific types, not objects No casting required Benefits Re-use common code Find bugs at compile time

    18. More New C# Language Features Anonymous Methods – Code blocks encapsulated in a delegate

    19. VB.NET Easiest and most productive way to develop .NET applications .NET Compact Framework continues to support VB.NET New support for a subset of VB.NET My namespace My.Resources My.WebServices My.Forms

    20. More Controls MonthCalendar LinkLabel Help WebBrowser DataContainer New on Smartphone Datagrid Textbox IME switching Enable multiple menu items on left softkey

    21. UserControl Easily build and reuse your own custom controls Well integrated into design time experience

    22. Forms And Drawing More Keyboard Support Events Form.KeyPreview Tabs Clipboard support Drawing Bitmaps (including save as…) Rotatable fonts Custom Pens Control.Handle – retrieve window handle Lots of additional properties, methods, events

    23. Displays And Layout Support for new and future devices Orientation Support ChangeOrientation method Docking and Anchoring AutoScroll property – forms, panels Suspend/Resume Layout methods Resolution Support Automatic scaling Graphics DpiX/DpiY

    24. Managed D3D Mobile Included in WinCE 5.0 and Windows Mobile 5.0 Native API is DX8 inspired Managed APIs are DX9 inspired Features Complete access to the underlying native D3DM API Fixed point support (Vertex Data, Matrices, Lights, and Materials) Sprite Font Mesh TextureLoader Tutorials and Samples

    25. Native Code Interop Enhancements Enhanced P/Invoke Type Marshalling Marshal delegates as function pointers Additional types – arrays, strings, structures Embedded arrays – structs with char[], array[] MarshalAs – type hinting Use COM objects in your managed code RCW support enables calling from managed applications into COM objects CCW support enables callbacks from native to managed code Support for late-bound and early-bound calls (IDispatch & vtable) Integrated into Visual Studio shell – cool!! Subset of the InteropServices namespace Cannot activate managed objects through COM (“regasm”) Multi-threaded apartments (MTA) only No custom marshalers or auto-generated Class Interfaces

    26. Base Class Libs, Networking, Web Services Serial Port Four ports Supported in the emulator IPv6 Generic-based collections classes Leverage the power of new Generics language feature Web services Faster XmlSerializer Support for SOAP 1.2

    27. System.Messaging (MSMQ) Use for bi-directional communications over intermittent (unreliable) connections

    28. Security Managed apps have identical security experience as native apps Mobile Operators can restrict app install/start to signed apps only Operators can control cert chain of trust, and/or rely on Mobile2Market Malicious applications can be revoked if device is restricted Security features added:

    29. Performance Improvements Since V1

    30. Data Performance

    31. Using Some of the new Windows Mobile 5 API’s Application Spec: Capture an image Allow the user to pick recipient from contacts list Enter a message body Send an Exchange mail

    32. DEMO

    33. V.Next Plans Maintain binary compatibility with prior versions Maintain compatibility with full .NET Framework Additional Scalability and Performance Security Tools Performance analysis Profiling tools WinFX Consistency with Longhorn Rich XAML-based UI markup (Avalon) Writing applications for intermittent connectivity Better configuration & deployment

    34. Summary Visual Studio 2005 provides a premier development environment for building mobile applications. Coupled with Windows Mobile 5.0 and Compact Framework 2 delivers the most efficient tools for building effective apps. Provide the tools needed to build next generation mobile applications

    35. Windows Mobile Resources Windows Mobile Developer Tools and Resources www.microsoft.com/windowsmobile/developer Windows Mobile Developer Resource Kit www.microsoft.com/uk/msdn/mobile.mspx 20 new technical articles and 20 new case studies eMbedded Visual C++ 3.0, 4.0 and 4.0 SP3 Resources for Windows Mobile 2003 Second Edition Pocket PC 2002, 2003 and 2003 Second Edition Emulators Smartphone 2002, 2003 and 2003 Second Edition Emulators Compact Framework 1.0 SP2 Redistributable Developer Power Toys Free (just pay $16 shipping)

    36. Windows Mobile Developer Communities www.microsoft.com/windowsmobile/resources/ communities/developer Windows Mobile Application Developer Centre www.msdn.com/mobility Mobile2Market www.microsoft.com/windowsmobile/mobile2market Online Learning www.learn247.net www.learn247.net/werock247 Online European Community www.codezone.info Windows Mobile Resources

    39. Delivering Windows Mobile 5.0 Applications Visual Studio 2005 licensing Visual Studio 2005 ships after Windows Mobile 5.0 and device launches EULA prevents shipping applications based on Visual Studio 2005 Beta 2 Visual Studio 2005 “GoLive” Must reship apps after Visual Studio 2005 RTM Can only release beta product or deploy internally Windows Mobile 5.0 GoLive Licensing Use Visual Studio 2005 Beta 2 + Windows Mobile 5.0 “GoLive” SDK Windows Mobile 5.0 “GoLive” SDK EULA extends special license

    40. Windows Mobile 5.0 GoLive Licensing Terms You can Build Windows Mobile 5.0 applications Sell Windows Mobile 5.0 apps for commercial gain without needing to rebuild at RTM Use any In-ROM features Statically link to MFC 8.0 and ATL 8.0 You cannot Build NET CF 2.0 apps (covered in VS GoLive) Distribute MFC 8.0, ATL 8.0 or NET CF 2.0 runtimes You must Switch to VS 2005 RTM 60 days after release

More Related