Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Windows Mobile Development Tony Whitter

Similar presentations


Presentation on theme: "Introduction to Windows Mobile Development Tony Whitter"— Presentation transcript:

1 Introduction to Windows Mobile Development Tony Whitter v-tonyw@microsoft.com

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

3 Orientation

4 Developing for Devices Device development is now easier 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 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 Visual Studio.NET 2003 has a Smart Device Application project type

6 Smartphone Information consumption Primarily data viewing Integrated phone with PDA Interoperability with Exchange.NET Compact Framework ASP.NET mobile controls Notebook PC Complex document authoring, editing and reading Keyboard centric at the desk Keyboard and mouse input methods Full.NET framework available Windows CE + Windows Mobile Windows XP 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 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 Windows CE Smart Personal Objects One-way network Information consumption Mobility Platforms

7 Pocket PC Devices Typical specifications: 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: 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 Smart Device Programmability Mobile Application Approaches Microsoft Mobile Development Local Code Mobile Web Pages Software Platform (Pocket PC, Smartphone, etc.) Mobile Web Browser ASP.NET Mobile Controls.NET Compact Framework and Native APIs

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

11 PPC 2002 SP 2002 Pocket PC 2003 Smartphone 2003 WinCE OS 3.03.04.24.2 eVC3.03.0 4.0 (SP2) eVB3.0--- VS.NET 2003-20032003.NET CF 1.0-1.0 1.0 SP1 MFCX-X- ATLX-XX eVB (runtime) X- X (RAM) - SQL CE X-X- ADO.NET X-XX MSMQX-XX Web Server X-X- Tools Matrix

12 Mobile Platform

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

14 Hard real-time pre-emptive multitasking kernel 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 Installable ISRs, multimedia timers, DMA APIs  More flexibility for drivers and applications Componentised Componentised Tuneable for resource constrained devices Tuneable for resource constrained devices Specialised through Platform Builder Specialised through Platform Builder  Pocket PC and Smartphone are specialisations  AutoPC and Smart Display (Mira) Windows CE

15 Security Security  Trustworthy Computing Initiative  L2TP and IPSec  802.11 native support (802.1x, TKIP, WEP re-keying) User feedback (consumer and enterprise) 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 Industry movement  IPv6 protocol and applications  Browser  urlmon6, mshtml6  Cascading style sheets  File system Filters Enhancements Since CE 3.0

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

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

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

23 No COM Interop 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 install-time JIT (nGen) No reflection emit No reflection emit No remoting No remoting  Client web services are fully supported No generic serialisation No generic serialisation  DataSets can be serialised to XML Subsets of other areas of functionality Subsets of other areas of functionality Compact CLR Differences

24 Windows Mobile Roadmap

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

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

27 Windows Mobile Resources Windows Mobile Developer Tools and Resources Windows Mobile Developer Tools and Resources  www.microsoft.com/windowsmobile/developer Windows Mobile Developer Resource Kit 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 Mobile Developer Communities Windows Mobile Developer Communities  www.microsoft.com/windowsmobile/resources/ communities/developer Windows Mobile Application Developer Centre Windows Mobile Application Developer Centre  www.msdn.com/mobility Mobile2Market Mobile2Market  www.microsoft.com/windowsmobile/mobile2market Online Learning Online Learning  www.learn247.net  www.learn247.net/werock247 Online European Community Online European Community  www.codezone.info Windows Mobile Resources

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.


Download ppt "Introduction to Windows Mobile Development Tony Whitter"

Similar presentations


Ads by Google