1 / 28

Introducing the Windows Mobile development

Introducing the Windows Mobile development. Tautvydas Dagys. 2009. Agenda. Do you remember?. What is .NET Framework?. Architecture of .NET?. What was new in .NET Framework 3.0?. .NET FRAMEWORK 2.0. Windows Workflow Foundation (WF). Windows Presentation Foundation (WPF).

bettyeh
Télécharger la présentation

Introducing the 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. Introducing theWindows Mobile development Tautvydas Dagys 2009

  2. Agenda

  3. Do you remember?

  4. What is .NET Framework?

  5. Architecture of .NET?

  6. What was new in .NET Framework 3.0? .NET FRAMEWORK 2.0 Windows Workflow Foundation (WF) Windows Presentation Foundation (WPF) The programming model, runtime, and tools for building long-running, persistent, workflow- and rules-based applications A framework for building user interfaces for applications and media-rich experiences Windows Communication Foundation (WCF) An interoperable framework for building connected applications, with a focus on service orientation and Web services

  7. Windows Mobile Development

  8. Introduction • Use the same development tools as desktop developers • There are a few challenges • Slower processors • Battery-powered devices • User interface restrictions • Device security • Application installation and execution • Encryption of data, devices can “easily” be lost

  9. Introduction Win Mobile 6 • One brand name for a wide variety of devices • Win Mobile 6 Standard (Smartphone) • WinMobile 6 Professional (Pocket PC) • Software development tools • Visual Studio 2005 Professional or better • Support for native and managed applications • Microsoft .NET Compact Framework 1.0 and .NET Compact Framework 2.0 support • Visual Studio 2008 • .NET Compact Framework 3.5 and .NET Compact Framework 2.0 support

  10. Development Tools • To develop applications for Windows Mobile 6 devices you need to install the Windows Mobile 6 software development kits (SDKs) • Separate downloads for Standard and Professional editions • Integrate seamlessly in Visual Studio 2005 and Visual Studio 2008 • You can also download Win Mobile 6.1 or 6.5 emulator images to target the newest devices

  11. Development Tools • Developer experience identical for desktop and Windows Mobile applications • Fewer UI controls available • Fewer APIs available • Target the .NET Compact Framework • Highly compatible subset of the full MS .NET Framework

  12. Developing Applications - Challenges • Dealing with different devices, different screen sizes, and different hardware • Creating effective user interfaces • Synchronizing data with desktops and servers • Network connections • Battery life

  13. Demo

  14. Device emulators • Why use emulator to begin with? • Allows targeting a large range of devices without having access to physical devices • Allows testing of cellular connections without needing a costly physical connection • Allows easy testing of different security scenarions

  15. Device Emulator Roadmap • Device Emulator 1.0 • Shipped with VS 2005 • ARM based emulator • Device Emulator 2.0 • In-place replacement of Device Emulator 1.0 • Ships with Windows Mobile 6 SDKs • Device Emulator 3.0 • In-place replacement of Device Emulator 2.0 • Ships with Visual Studio 2008

  16. Device Emulators • Why use the emulators to begin with? • Allows targeting a large range of devices without having access to physical devices • Allows testing cellular connections without needing a costly physical connection • Allows easy testing of different security scenarios

  17. Device Emulator 2.0 - Improvements • Faster Performance • Improved JIT ~ 40% performance increase • Updated User Interface • Improved configuration of peripherals • Bug fixes • Soft keys work everywhere • Re-bind NE 2000 adapter to different NICs at runtime • Non-US keyboard support

  18. Demo

  19. Device Emulator 2.0 – Cellular Emulator • New tool to test cellular connectivity • Make phone calls from Device Emulator • Receive phone calls on Device Emulator • Send and receive Text Messages

  20. Demo

  21. Device Emulator 3.0 – new features • Device Emulator Manager interface exposed • Enumerate all installed emulator images • Programmatically connect and cradle • Fully automated COM interface • Accessible from managed code through the Microsoft.DeviceEmulatorManager.Interop.9.0.dll • Access to interfaces from desktop applications / scripts

  22. Device Emulator 3.0 – new features • XML config file to configure emulator instances • Friendly and easily-customizable alternative to DE command line • New .decfg file format • Save preferred emulator settings under “My Device Emulators” • Retrieve and reconfigure emulator settings at run time via code • DEM UI changes to mirror automation interfaces • Set security configurations through security manager

  23. The Windows Mobile Family • Windows Mobile: many different devices • Different input capabilities • Professional with touch, Standrd no touch • No keyboard, 12-key keyboard, full QWERTY • Many different displays • Different sizes, orientations & resolutions • Phone support • Windows Mobile version differences • Hardware differences

  24. Device differences • Differences breakdown into 3 categories • Availability of touch-screen support • Different Form Factors • Extended capabilities • Windows Mobile version • .NET Compact Framework version • Available Hardware

  25. Windows Forms Development • Not that different from developing Desktop Windows Forms Applications • Less Controls available • Depending on the type of device

  26. Windows Forms Development • Drag and drop controls from the toolbox to the visible form in the Forms Designer • Consider different screen orientations

  27. References • http://msdn.microsoft.com/en-us/windowsmobile/default.aspx • http://msdn.microsoft.com/en-us/rampup/dd807370.aspx

  28. Questions and answers

More Related