Malek Kemmou - PowerPoint PPT Presentation

1 / 16
About This Presentation
Title:

Malek Kemmou

Description:

Other Windows CE devices (mini-Tablets, special input : card readers / bar code ... Next release of Windows CE.NET codenamed Macallan. Managed support. Native support ... – PowerPoint PPT presentation

Number of Views:129
Avg rating:3.0/5.0
Slides: 17
Provided by: murat7
Category:

less

Transcript and Presenter's Notes

Title: Malek Kemmou


1
Developing .NET Compact Framework Applications
for PocketPCs Smartphones
  • Malek Kemmou
  • Microsoft Regional Director for Middle East
    Africa
  • kemmou_at_kemmou.com

2
Agenda
  • Mobile Devices Today
  • Compact Framework
  • Developing for devices without noticing the
    difference
  • First encounters with device specifics
  • God damn PInvoke
  • Performance in the device world
  • Future the Whidbey device tools

3
Mobile Devices today
  • Windows Mobile 2003
  • Compact Framework in ROM or supported
  • PocketPC
  • PocketPC Phone Edition
  • SmartPhone
  • Other Windows CE devices (mini-Tablets, special
    input card readers / bar code / ,
    accessibility devices, GPS, Radios etc.)

4
More Devices tomorrow
  • SPOT Small Portable Object Technology
  • Smaller CPU Chips with integrated burst radio
    receivers
  • Usage
  • Watches, alarm clocks, radio receivers, etc.

5
Developing for devices
  • Small footprint programming
  • Low memory
  • Low performance
  • No hard disk
  • Device specifics
  • Platform targets (CPU an OS)
  • Various form factors
  • Various functionality (telephony, connectivity,
    phonebook / contacts, etc)

6
I Wish I Could
  • Have a RAD environment
  • Abstraction of device specifics
  • Develop once, deploy everywhere
  • Use familiar programming and object models

7
.NET For Devices
  • Taking the .NET platform to devices
  • .NET Compact Framework
  • APIs are subset of full .NET Framework class
    libraries
  • Creating .NET tools for devices
  • Visual Studio .NET 2003 integrated device support
  • Key bets
  • Scale .NET down to devices
  • Best of connected and disconnected
  • Enable great developer productivity
  • Creating web applications for mobile devices
  • ASP.NET Mobile Controls

8
.Net for devices overview Development Platform
Visual Studio .NET
.NET Framework
Server-side Web Apps
Client-sideRich Apps
Local Code
Remote Web Pages
Mobile Web Browser
.NET CompactFramework
9
.NET for Devices.NET Framework
10
.NET for Devices.NET Compact Framework
11
.NET for DevicesCommon CLR Features
  • .NET Compact Framework supports all the core CLR
    features
  • Exceptions
  • Constructors and Finalizers
  • IDisposable
  • Remote Debugging
  • App Domains
  • Applications can start another application domain
    in-process
  • COM Interop

12
.NET for DevicesWhat isnt included?
  • Reflection Emit
  • Remoting
  • Serialization (Accessing the XMLSerializer)
  • Code Dom
  • Printing
  • COM Interoperability (managed wrappers)
  • Server side functionality
  • XPath/XSLT

13
Smartphone Support Visual Studio .NET 2003
  • Forms designer
  • Emulation environment
  • Rich debugging experience
  • .NET Compact Framework 1.0
  • Feature of every Smartphone 2003 device
  • Built in support for XML Web Services, Windows
    Forms, XML, ADO.NET and more
  • Supports subset of controls
  • Integration with native security model
  • Additional command-line tools
  • CAB creation, configuration, code signing

14
SQL CE Architecture
15
SQL CE Supported Platforms
  • PocketPC 2002, 2003, Phone Edition
  • Managed support
  • .NET CF in ROM for Pocket PC 2003
  • Native support
  • eVC v4.0 via OLEDBCE
  • Embedded
  • Next release of Windows CE.NET codenamed Macallan
  • Managed support
  • Native support
  • eVC v4.0 via OLEDBCE

16
What About Device Specific Functionality !
  • Telephony
  • SMS Messaging
  • Accessing PIM Data
  • Accessing the SIM card
  • BlueTooth
  • Printer drivers

17
P/Invoking the genie
  • Telephony
  • P/Invoke to RequestMakeCall or PhoneMakeCall
  • SMS Messaging
  • P/Invoke to messaging APIs for sending
  • Receiving requires a native component to receive
    the message then pass it out of process to
    managed application
  • Accessing PIM Data
  • P/Invoke to Pocket Outlook Object Model
  • Accessing the SIM card
  • P/Invoke to native SIM Toolkit APIs
Write a Comment
User Comments (0)
About PowerShow.com