Download presentation
Presentation is loading. Please wait.
1
NET Compact Framework for Mobile Developers
Marcus Perryman
2
Agenda Orientation Mobile Platform .NET Compact Framework
Windows Mobile Roadmap
3
Smart device projects Visual Studio .NET 2003 includes tight integration for mobile developers
4
Smart Personal Objects
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 CE Windows CE + Windows Mobile Windows XP
5
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
6
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
7
Mobile application approaches Microsoft mobile development
ASP.NET Mobile Controls Mobile Web Pages Local Code Mobile Web Browser .NET Compact Framework and Native APIs Software Platform (Pocket PC, Smartphone, etc.)
8
Mobile application approaches Microsoft mobile development
Smart Device Programmability Local Code Mobile Web Browser .NET Compact Framework and Native APIs Software Platform (Pocket PC, Smartphone, etc.)
9
Device emulators Visual Studio .NET 2003 includes a Pocket PC 2002 emulator as standard Other emulators are available via SDKs
10
Tools matrix WinCE OS 3.0 4.2 eVC 4.0 (SP2) eVB - VS .NET 2003 .NET CF
Pocket PC 2002 Smartphone 2002 Pocket PC 2003 Smartphone 2003 WinCE OS 3.0 4.2 eVC 4.0 (SP2) eVB - VS .NET 2003 .NET CF 1.0 1.0 SP1 MFC X ATL eVB (runtime) X (RAM) SQL CE ADO .NET MSMQ Web Server
11
Agenda Orientation Mobile Platform .NET Compact Framework
Windows Mobile Roadmap
12
Brief history for Developers
April 00 October 01 October 02 June 2002 January 02 June 00
13
Brief history for Developers
Smartphone 2002 Pocket PC 2002 Pocket PC April 00 October 01 October 02 June 2002 SP 1 4.1 4.2 January 02 June 00 Win CE 3.0
14
Brief history for Developers
Smartphone 2002 Pocket PC 2003 Smartphone 2003 Pocket PC 2002 Pocket PC April 00 October 01 October 02 June 2002 SP 1 4.1 4.2 January 02 June 00 Win CE 3.0 Win CE .NET (4.0)
15
Brief history for Developers
Pocket PC 2003 Smartphone 2002 Pocket PC 2002 Pocket PC Smartphone 2003 April 00 October 01 October 02 June 2002 SP 1 4.1 4.2 January 02 June 00 Win CE 3.0 Win CE .NET (4.0)
16
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 others…
17
Enhancements since CE 3.0 Security
Trustworthy Computing Initiative L2TP and IPSec 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 File system Filters
18
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
19
Pocket PC screen sizes (support for and .18 dot pitch)
20
Pocket PC screen sizes
21
Smartphone screen sizes
22
Agenda Orientation Mobile Platform .NET Compact Framework
Windows Mobile Roadmap
23
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
24
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
25
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
26
DEMO Create a Web Service Create a Pocket PC 2003 client application
Deploy the application to the Pocket PC 2003 emulator
27
Agenda Orientation Mobile Platform .NET Compact Framework
Windows Mobile Roadmap
28
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 Platforms PPC 2000 SP v Next QVGA, Standard PPC + PE 2002 SP 2002 PPC + PE 2003 SP 2003 + .NET CF Whidbey, New native runtimes, 1st class managed code, Notification Manager, DirectX, Location APIs, Dr Watson Win32, POOM APIs + MFC, Connection Manager + .NET Compact Framework, Bluetooth, SMS CE OS 3.0 3.0 4.2 Macallan
29
Windows Mobile Futures
In the OS eDB – a step forward from CEDB Location Services API Update to WebServer (ASP support) Pocket Watson DirectX (D3D, modular Media Player) For the developer Combined IDE for Native and Managed Mobile SOAP toolkit .NET CF V2 development COM Interop, XPath, Crypto, Registry, Generics etc. Hosting Interface New Libraries System.Messaging Unified Notifications POOM – SMS, Mail, Calendar, Tasks etc. Telephony, all Phone related functions
30
SQL CE Futures Laguna code name for SQL CE 3.0 Runtime Improvements:
Performance – remove OLEDB for managed code Re-use spent storage pages Query hints Updateable scrollable cursors. Multi User Tools: Integration to Workbench DTS Data Designer in Whidbey
31
Questions?
32
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
33
Windows Mobile Resources
Windows Mobile Developer Tools and Resources 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)
34
Windows Mobile Resources
Windows Mobile Developer Communities communities/developer Windows Mobile Application Developer Centre Mobile2Market Online Learning Online European Community
35
© 2003-2004 Microsoft Corporation. All rights reserved.
This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.