Presentation is loading. Please wait.

Presentation is loading. Please wait.

Agenda 18:00Registration 18:30.NET Compact Framework 19:00‘Whidbey’ for Devices 19:30Break / Refreshments 19:55Source O2 Developer program 20:15Top PocketPC.

Similar presentations


Presentation on theme: "Agenda 18:00Registration 18:30.NET Compact Framework 19:00‘Whidbey’ for Devices 19:30Break / Refreshments 19:55Source O2 Developer program 20:15Top PocketPC."— Presentation transcript:

1 Agenda 18:00Registration 18:30.NET Compact Framework 19:00‘Whidbey’ for Devices 19:30Break / Refreshments 19:55Source O2 Developer program 20:15Top PocketPC support questions & Q&A 21:00Event Close

2 NET Compact Framework for Mobile Developers Marcus Perryman marcpe@microsoft.com http://blogs.msdn.com/marcpe

3 The slides for this event will be posted at: www.microsoft.com/uk/msdn/postevents

4 Agenda Orientation Mobile Platform.NET Compact Framework

5 Mobility platforms 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

6 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

7 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

8 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

9 Mobile application approaches Microsoft mobile development Smart Device Programmability Local Code Software Platform (Pocket PC, Smartphone, etc.) Mobile Web Browser.NET Compact Framework and Native APIs

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

11 Agenda Orientation Mobile Platform.NET Compact Framework

12 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

13 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

14 Pocket PC screen sizes (support for.24.22 and.18 dot pitch)

15 Pocket PC screen sizes

16 Smartphone screen sizes

17 Agenda Orientation Mobile Platform.NET Compact Framework

18 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

19 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

20 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

21 DEMO Create a Web Service Create a Pocket PC 2003 client application Deploy the application to the Pocket PC 2003 emulator

22 Questions?

23 Visual Studio 2005 (‘Whidbey’) for devices Marcus Perryman marcpe@microsoft.com http://blogs.msdn.com/marcpe

24 Windows Mobile roadmap 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 CE OS SP v Next QVGA, Standard PPC + PE v Next VGA, Landscape, Square, Standard

25 Agenda Visual Studio 2005 for Devices Overview Native development Managed development Improvements Compact Framework 2.0 Overview

26 Visual Studio 2005 Device Initiatives Goals: Desktop integration Extend feature set General language and IDE benefit: Generics, InteliSense, code snippets Integrating Managed and Native development in same toolset. New forms designer and emulation environments.

27 Leveraging Desktop Features Native ATL and MFC Class Libs and Wizards V8.0 Compilers Resource Editor Project Properties and Settings Managed Designer WYSIWYG Forms User Controls Data Partial Classes Inherited Forms Both VS Project System, MSI and CAB projects

28 Native Development Native C++ for Devices feature will include: Application and Class Wizards SDK integration Resource Editor Remote deployment/debugging Native frameworks (MFC / ATL) Emulator Help

29 My first Native App Native App

30 Managed Development Languages: C#, VB.NET Managed/Native Projects in one solution Integrated Smartphone support WYSIWYG Forms Designer Catch inherited but unsupported properties, methods and events Support for custom controls and inherited forms More accurate IntelliSense Data Designer SQL Mobile Data-Management Tools New Emulator CAB and Setup Projects Remote Tools Registry, process viewer, file viewer, heap walker, etc…

31 Emulator Features ARM CPU instruction set ActiveSync support Shared Folder support Four COM ports Portrait and landscape orientation support

32 My first Managed App Managed App

33 Compact Framework 2.0

34 .NET Compact Framework Today… Service Pack 3 Improvements Download it today from MSDN Focus on Stability: WM 2003 SE From SP 2: ~ 40% faster XML ~ 20% faster ADO.NET ForeColor and BackColor!!! Developer Adoption Fourth most active.NET newsgroup Developer Focused Web sites like http://www.OpenNetCF.org http://www.dotnetdn.com/ http://www.pocketPCDN.com http://msdn.microsoft.com/ mobility / Information direct from product team members http://blogs.msdn.com/windowsmobile

35 Compact Framework 2.0 Goals: Side by side with CF 1.0 More desktop & device classes Improved Interoperability Faster execution COM Interoperability: Runtime Callable Wrappers (RCW) New Controls: MonthCalendar, NotificationBubble, UserControl SQL CE Mobile: Pocket PC and Smartphone New Classes: System.Messaging, Cryptography, Phone and PIM wrappers.NETCF 1.0 (ROM) (ROM).NETCF 2.0

36 Extensibility.NET Compact Framework 2.0 COM Interoperability Runtime Callable Wrappers (RCW) provide proxies for native COM objects RCW support integrated into the Visual Studio shell Enhanced Type Marshalling Additional types – arrays, strings, structures Embedded arrays – structs with char[], array[] MarshalAs – type hinting System.Windows.Forms Control.Handle – retrieve window handle

37 Language Support.NET Compact Framework 2.0 New language features make you more productive Generics Anonymous methods Iterators Partial Types

38 Windows.Forms Controls DateTimePicker MonthCalendar DocumentList LinkLabel Notification Bubble Help WebBrowser DataContainer UserControl

39 A look at the controls

40 Smartphone Features.NET Compact Framework 2.0 Data Support SQL Mobile DataGrid Textbox IME switching InputModeEditor Enable multiple menu items on left softkey

41 Displays And Layout.NET Compact Framework 2.0 Orientation Support Docking and Anchoring Tip – use panels to group controls AutoScroll property – forms, panels Suspend/Resume Layout methods ChangeOrientation method Resolution Support Automatic scaling Graphics DpiX/DpiY

42 System.Drawing.NET Compact Framework 2.0 Bitmaps Bitmap.LockBits(…) Image.Save(…) png, jpg, bmp, tif, gif Bitmap Pattern Brushes Create font from LOGFONT structure Custom Pens Rotated text using LOGFONT

43 Class Libraries Serial Port Four ports now Supported in the emulator Generic collections Cryptography aZ#S- ghro @*rw --v<E[1~ Encrypt System.Messaging messages, passwords

44 Support for custom delegates Return values Custom parameters Asynchronous support BeginInvoke/EndInvoke Exception for cross-thread GUI calls unique to.NET Compact Framework Control.Invoke.NET Compact Framework 2.0 IAsyncResult result = this.BeginInvoke(myDelegate, new object[]{“hello”}); // do other processing here while thread runs int returnCode = (int)this.EndInvoke(result); public delegate int myDelegate(string s);

45 Filling the gaps

46 Summary You can make great device applications today with Visual Studio.NET 2003 Whidbey introduces large improvements in device application design, unifying it with desktop experience.NET Compact Framework 2.0 is about next generation features and productivity enhancers.

47 Attend a free chat or web cast http://www.microsoft.com/communities/chats/default.mspx http://www.microsoft.com/usa/webcasts/default.asp List of newsgroups http://communities2.microsoft.com/ communities/newsgroups/en-us/default.aspx MS Community Sites http://www.microsoft.com/communities/default.mspx Locate Local User Groups http://www.microsoft.com/communities/usergroups/default.mspx Community sites http://www.microsoft.com/communities/related/default.mspx Community Resources

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


Download ppt "Agenda 18:00Registration 18:30.NET Compact Framework 19:00‘Whidbey’ for Devices 19:30Break / Refreshments 19:55Source O2 Developer program 20:15Top PocketPC."

Similar presentations


Ads by Google