Presentation is loading. Please wait.

Presentation is loading. Please wait.

Start Mobile Developer Nuggets David Goon 27 October 2005.

Similar presentations


Presentation on theme: "Start Mobile Developer Nuggets David Goon 27 October 2005."— Presentation transcript:

1 Start Mobile Developer Nuggets David Goon 27 October 2005

2 Programs Autorun Installing Compact Framework 2.0 Pocket PC Security State and Notification Broker Managed Pocket Outlook Object Model SMS Interception Compact Framework Performance Counters Application Localization

3 Autorun Build native or for Compact Framework 1.0 Directories for Autorun.exe MIPS (41xx series and 3910)4000 SH310003 SH410005 StrongARM2577 XScale1824 Execution InsertionInstall RemovalUninstall

4 Installing CF 2.0 Redist files are in C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\ WindowsCE Check version on the device first System.Environment.Version Use WCELoad.exe to launch CAB

5 Pocket PC Security IDPolicy Value 4101Default is SECROLE_USER_AUTH (16) 0 unsigned.cab files cannot be installed. 41020 unsigned applications not allowed to run 1 unsigned applications allowed to run 41220 indicates user prompted. 1 indicates user not prompted.

6 State and Notification Broker New in Windows Mobile 5.0 140 System States Transient and Persistent Notifications Conditional Notifications Currently stored in the system registry

7 Managed POOM New in Windows Mobile 5.0 Easy to access and manipulate PIM items Add Custom Properties To Extend Use State and Notification Broker to be advised of changes

8 SMS Interception Use 14250010001 to loop back on emulator Intercept based on a tag Can be made persistent Sample Business Requirement Customer calls Sales Office Office obtains details and locates sales person Sales person needs to be alerted with accurate information

9 CF Performance Counters.stat Enable through Device registry setting HKLM\SOFTWARE\Microsoft\.NETCompactFrame work\ PerfMonitor Value is Counters (DWORD) = 1 More details at http://msdn.microsoft.com/library/en- us/dnnetcomp/html/netcfperf.asp What does.stat tell you? Working set and performance statistics

10 App Localization New strongly-typed resource manager Create strings in RESX files Files can then be sent away for translation Then incorporate into project All access through generated class

11 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft, Windows Mobile, Outlook, PowerPoint and Excel are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Microsoft makes no warranties, express or implied, in this summary. The names of actual companies and products mentioned herein may be the trademarks of their respective owners. Connectivity and synchronization may require separately purchased equipment and/or wireless products (e.g., WiFi card, network software, server hardware, and/or redirector software). Service plans are required for Internet, WiFi and phone access. Features and performance may vary by service provider and are subject to network limitations. See device manufacturer, service provider and/or corporate IT department for details.


Download ppt "Start Mobile Developer Nuggets David Goon 27 October 2005."

Similar presentations


Ads by Google