Presentation is loading. Please wait.

Presentation is loading. Please wait.

What's different in WM 6.5? Updated UI: less fugly, more touch-friendlyMarketplace Gesture support (native code & standard controls)...Widgets.

Similar presentations


Presentation on theme: "What's different in WM 6.5? Updated UI: less fugly, more touch-friendlyMarketplace Gesture support (native code & standard controls)...Widgets."— Presentation transcript:

1

2 What's different in WM 6.5? Updated UI: less fugly, more touch-friendlyMarketplace Gesture support (native code & standard controls)...Widgets

3 Windows Mobile 6.5 on the emulator...

4 Widgets Conform to proposed W3C widget standard Based on HTML, JavaScript, CSS Can use XMLHttpRequest or XMLDOM Packaged in.zip format (with.wgt extension) To develop youll need the Windows Mobile 6.5 Developer Toolkit (has emulator images)

5 Manifest (config.xml) Mandatory file - Root element - Network requirements - required - src attribute links to start file - um…. - A.PNG for touch screen devices

6 widget manifest (continued) Example: Geekzone Friends Geekzone status updates

7 JavaScript objects: widget Exposes useful properties and methods e.g. - widget.authorEmail - widget.authorName - widget.menu – the widgets menu - Also authorURL, currentIcon, description, height, identifier, locale, name, version, width

8 widget object (continued) - Also exposes persistence methods: - widget.preferenceForKey(key) - widget.setPreferenceForKey(, key);

9 SystemState object CradlePresent DisplayRotation PhoneHomeService PhoneOperatorName PhoneRoaming PhoneSignalStrength PowerBatteryState PowerBatteryStrength

10 SystemState (continued) Example (from MSDN): var cradledState = systemState.CradlePresent; cradledState.addEventHandler("changed", cradled);

11 Demo

12 Another demo...

13 Useful links http://msdn.microsoft.com/en-us/library/dd721906.aspx - MSDN docs (same title as this presentation) http://msdn.microsoft.com/en-us/library/dd721906.aspx http://blogs.msdn.com/windowsmobile/archive/2009/06/04/ge tting-started-with-widgets-on-windows-mobile-6-5.aspx - Introductory post by Jorge Peraza http://blogs.msdn.com/windowsmobile/archive/2009/06/04/ge tting-started-with-widgets-on-windows-mobile-6-5.aspx http://www.microsoft.com/downloads/details.aspx?displaylan g=en&FamilyID=20686a1d-97a8-4f80-bc6a-ae010e085a6e – Windows Mobile 6.5 Developer Toolkit (includes emulator images) http://www.microsoft.com/downloads/details.aspx?displaylan g=en&FamilyID=20686a1d-97a8-4f80-bc6a-ae010e085a6e http://windowsteamblog.com/blogs/windowsphone/archive/2 009/08/12/widget-anatomy-the-manifest.aspx - Widget Anatomy - The Manifest http://windowsteamblog.com/blogs/windowsphone/archive/2 009/08/12/widget-anatomy-the-manifest.aspx

14 Me again: Kevin Daly (kevindaly@xtra.co.nz)kevindaly@xtra.co.nz Blog: kevindaly.spaces.live.com (will move to www.kjdaly.com within the next couple of weeks)www.kjdaly.com


Download ppt "What's different in WM 6.5? Updated UI: less fugly, more touch-friendlyMarketplace Gesture support (native code & standard controls)...Widgets."

Similar presentations


Ads by Google