1 / 29

Introduction to Windows Mobile Development

Introduction to Windows Mobile Development. Tony Whitter v-tonyw@microsoft.com. Agenda. Orientation Mobile Platform .NET Compact Framework Windows Mobile Roadmap. Orientation. Developing for Devices. Device development is now easier Can use existing skills and tools for many tasks

rasia
Download Presentation

Introduction to Windows Mobile Development

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 Windows Mobile Development Tony Whitter v-tonyw@microsoft.com

  2. Agenda • Orientation • Mobile Platform • .NET Compact Framework • Windows Mobile Roadmap

  3. Orientation

  4. Developing for Devices • Device development is now easier • Can use existing skills and tools for many tasks • Visual Studio .NET 2003 • C# and Visual Basic .NET • .NET (Compact) Framework • Some tasks still better suited to Embedded C++ • Can target multiple platforms • Personal Digital Assistants (PDAs) • Windows Mobile Pocket PC 2003 • Windows Mobile Pocket PC 2003 Phone Edition • Smartphones • Windows Mobile Smartphone 2003

  5. Smart Device Projects • Visual Studio .NET 2003 has a Smart Device Application project type

  6. Mobility Platforms • Pocket PC Phone • Information consumption • View and enter data • Integrated with phone • Interoperability with Office, Exchange and SQL Server • .NET Compact Framework • ASP.NET mobile controls • Smartphone • Information consumption • Primarily data viewing • Integrated phone with PDA • Interoperability with Exchange • .NET Compact Framework • ASP.NET mobile controls • Tablet PC • Complex document authoring, editing and active reading • Note taking and ink annotating • Keyboard centric at the desk, pen & keyboard away from the desk • Keyboard, mouse plus pen, ink, and speech input methods • Full .NET framework preinstalled • Smart Personal Objects • One-way network • Information consumption • Notebook PC • Complex document authoring, editing and reading • Keyboard centric at the desk • Keyboard and mouse input methods • Full .NET framework available Windows XP Windows CE Windows CE + Windows Mobile

  7. Pocket PC Devices • Typical specifications: • Processor 300MHz – 624MHz • RAM 32Mb – 128Mb • Up to 4.8Gb via CompactFlash • Up to 1.0Gb via SD • PDA form factor • RAM based storage • Touch screen with stylus input • .NET Compact Framework in ROM • Pocket Office, Internet Explorer and Media Player • Connectivity via Bluetooth, IrDA and WiFi • Phone Edition devices add GSM and GPRS

  8. Smartphone Devices • Typical specifications: • Processor 132MHz – 206MHz • RAM 16Mb – 32Mb • Up to 1.0Gb via SD • Phone form factor • Non-volatile flash storage • Rigid screen (keypad input) • .NET Compact Framework in ROM • Pocket Outlook, Internet Explorer,Media Player, SMS and MMS • Connectivity via Bluetooth and IrDA • Tri-band GSM and GPRS

  9. ASP.NET Mobile Controls Smart Device Programmability Mobile Web Pages Local Code Mobile Web Browser Mobile Application ApproachesMicrosoft Mobile Development .NET Compact Framework and Native APIs Software Platform (Pocket PC, Smartphone, etc.)

  10. Device Emulators • Visual Studio .NET 2003 includes a Pocket PC 2002 emulator as standard • Other emulators are available via SDKs

  11. Tools Matrix

  12. Mobile Platform

  13. Brief History ofWindows Mobile Smartphone 2002 Pocket PC 2003 Smartphone 2003 Pocket PC 2002 Pocket PC April 00 October 01 October 02 June 2002 4.2 SP 1 4.1 January 02 June 00 Win CE 3.0 Win CE .NET (4.0)

  14. Windows CE • Hard real-time pre-emptive multitasking kernel • Interprocess communication (IPC), sync objects • Memory mapped files, message queues and fibres • Virtual memory with hardware access protection • Installable ISRs, multimedia timers, DMA APIs • More flexibility for drivers and applications • Componentised • Tuneable for resource constrained devices • Specialised through Platform Builder • Pocket PC and Smartphone are specialisations • AutoPC and Smart Display (Mira)

  15. Enhancements Since CE 3.0 • Security • Trustworthy Computing Initiative • L2TP and IPSec • 802.11 native support (802.1x, TKIP, WEP re-keying) • User feedback (consumer and enterprise) • Windows Media 9 codes / DMO wrapper • Synchronise with latest Messenger technologies • Device Management • Configuration Manager, Push Router hooks • Industry movement • IPv6 protocol and applications • Browser • urlmon6, mshtml6 • Cascading style sheets • File system Filters

  16. Windows Mobile SE • Enable OEM innovation • Minimise developer impact • Native use: • GetSystemMetrics • SCALEX, SCALEY macros • WM_SETTINGCHANGE and WM_SIZE • ChangeDisplayOrientationEx • Managed use: • Form.Resize

  17. Pocket PC Screen Sizes (support for .24 .22 and .18 dot pitch)

  18. Pocket PC Screen Sizes

  19. Smartphone Screen Sizes

  20. .NET Compact Framework

  21. Compact Framework Design Goals • Target mobile and embedded devices • Portable subset of .NET Framework • No new ‘compact’ namespaces • C# and Visual Basic .NET compiler support • Leverage Visual Studio .NET • Run managed .EXEs and .DLLs directly • Debug with Visual Studio .NET • Peacefully co-exist with host OS • Run on native threads, P/Invoke to native code

  22. Compact CLR Common Features • Verifiable type safe execution • No uninitialised variables, unsafe casts, bad array indexing or bad pointer arithmetic • Garbage collection • No reference counting and no leaks • JIT compilation • Error handling with exceptions • Common type system • Call, inherit, and source-level debug across different languages

  23. Compact CLR Differences • No COM Interop • Good support for calling native DLLs • Can call COM objects through DLL wrappers • Can’t write COM / ActiveX in C# or Visual Basic • No install-time JIT (nGen) • No reflection emit • No remoting • Client web services are fully supported • No generic serialisation • DataSets can be serialised to XML • Subsets of other areas of functionality

  24. Windows Mobile Roadmap

  25. Windows Mobile Roadmap eVC 3 (C++) eVC 4 (C++) VS .NET 2003(C#, VB.NET) eVC 3 (C++) eVB 3 (VB) eVC 3 (C++) eVB 3 (VB) VS 2005(C#, VB.NET, C++) Tools Devices PPC + PE v Next VGA, Landscape, Square, Standard SP v Next QVGA, Standard PPC 2000 PPC + PE 2002 SP 2002 PPC + PE 2003 SP 2003 Platforms + .NET CF Whidbey,New native runtimes,1st class managed code,Notification Manager, DirectX, Location APIs, Dr Watson + .NET Compact Framework, Bluetooth, SMS + MFC, Connection Manager Win32, POOM APIs 3.0 CE OS 3.0 4.2 Macallan

  26. Summary • Rich platform and hardware • Windows Mobile 2003 • Rich and robust platform on which to build and deploy Mobile applications • Visual Studio .NET 2003 • State of the art development tools for targeting the .NET Compact Framework • .NET Compact Framework • Brings mobile device development to mainstream developer community

  27. Windows MobileResources • Windows Mobile Developer Tools and Resources • www.microsoft.com/windowsmobile/developer • Windows Mobile Developer Resource Kit • msdn.microsoft.com/mobility/prodtechinfo/platforms/windowsmobile/resourcekit • 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)

  28. Windows MobileResources • 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

  29. © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

More Related