Professional Documents
Culture Documents
Overview
Categories of Windows Mobile
Platforms Based on Hardware
• Pocket PC
– OS: Windows Mobile
• Smart Phone
– OS: Windows Mobile Customized for
Smart Phones
• Embedded or Custom Hardware
– OS: Windows CE
Differences Between Mobile
Platforms
Platform Windows Mobile 6 Classic Windows Windows CE
s and Professional Mobile 6
Touch Yes Standard
No Decision of OEM
Screen
Keypad No Keyboard Phone Keypad, or Decision of OEM
Or QWERTY Keyboard QWERTY
keyboard
Telephon Yes for Pocket PC Phone Yes Custom
e Edition
Capability
Operating Windows Mobile 6 Classic Windows Mobile Windows CE 5.0
System Windows Mobile 6 6 Standard Windows
Professional Embedded CE
Hardware Pocket PCs Smart Phones 5.0
For Custom
Hardware
Windows CE vs. Windows
Mobile
• Windows CE
– A Modular Operating System
– Completely Adaptable to Build
Customized Operating System for a
Hardware Platform
– Platform Builder is the Tool Used to Pick
Modules of Windows CE Required for a
Particular Hardware
Windows Mobile vs. Windows
CE
• Windows Mobile
– Ensures Look & Feel Consistency Across
Devices
– Built Using Windows CE
– Additional Features
• Pocket PC or Smart Phone Shell for UI & User
Input
• Word, Excel, IE etc.
Microsoft .Net Architecture
Microsoft .Net Compact
Framework
• Message Pump:
– Every Application has a Message Pump
where All Messages Related to that
Application are Delivered by the System
Compact CLR Engine—
Performance Considerations
• Intermediate Compilation
– VB.Net and C#.Net are Compiled to Intermediate
Language (IL)
– IL is Translated into Native Executable Code at Runtime
– Generally in Desktop Applications, Once Generated,
Native Code is Reused in Each Function Call During App
Life Cycle
• In Mobile Devices, Code Pitching May Occur
• Code Pitching means Throwing Away the Compiled Native
Code Because of Some Reasons; for instance, Severe
Memory Constraints
• Limited Support for Method Inlining
Compact CLR Engine—
Performance Considerations
• Memory Allocation for Managed Code is Quick Because
System Pre-Allocates Memory on Heap in Chunks and
Assign it to Requesting Processes
• Garbage Collection is Done in a Separate Thread and May
Occur in Following Cases for Instance:
– A cumulative 1 MB of heap data has been allocated since the
last collection
– Explicitly Calling GC.Collect.
– Application is Moved to Background
– Failure to Allocate Memory for a Managed Object Occurs
– Simple Collection
• Identify Dead Objects and Make Space Available
– Compact Collection
• Movement of Live Objects to Contagious Block and Cleanup Unused
Objects
Security Policies and Code
Signing
• Smartphones Support 1 or 2 Tier
Security Model
• Pocket PCs Support 1 Tier Security
Model
Authentication Two-Tier Security One-Tier Security
Level (Most Smartphones) (Pocket PCs)
Signed with a Application may access privileged and Application may access privileged and
Privileged normal APIs and registry keys normal APIs and registry keys
Certificate
Signed with an Application may not access privileged Application may access privileged and
Unprivileged APIs and certain registry locations normal APIs and registry keys
Certificate
Unsigned Application may be prevented from Application may be prevented from
running running
Device to Desktop
Communications
• Microsoft ActiveSync
• Windows Mobile Device Center for
Vista
Tools and Technologies