<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://wotudo.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>wotudo : Widgets</title><link>http://wotudo.net/blogs/wotudo/archive/tags/Widgets/default.aspx</link><description>Tags: Widgets</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20423.869)</generator><item><title>Widget development in Windows Mobile 6.5</title><link>http://wotudo.net/blogs/wotudo/archive/2009/10/01/widget-development-in-windows-mobile-6-5.aspx</link><pubDate>Thu, 01 Oct 2009 12:34:14 GMT</pubDate><guid isPermaLink="false">2f2f3f54-a0d5-494d-ad23-22a6d9c85854:505</guid><dc:creator>paulfo</dc:creator><slash:comments>3</slash:comments><comments>http://wotudo.net/blogs/wotudo/archive/2009/10/01/widget-development-in-windows-mobile-6-5.aspx#comments</comments><description>I had two sessions to present at Over The Air 09 . The first was all about the new Widget runtime included in Windows Mobile 6.5 . The runtime brings a Microsoft implementation of W3C Widget support to Windows Mobile for the first time. Our implementation...(&lt;a href="http://wotudo.net/blogs/wotudo/archive/2009/10/01/widget-development-in-windows-mobile-6-5.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://wotudo.net/aggbug.aspx?PostID=505" width="1" height="1"&gt;</description><category domain="http://wotudo.net/blogs/wotudo/archive/tags/Mobile/default.aspx">Mobile</category><category domain="http://wotudo.net/blogs/wotudo/archive/tags/Windows+Mobile/default.aspx">Windows Mobile</category><category domain="http://wotudo.net/blogs/wotudo/archive/tags/wotudo/default.aspx">wotudo</category><category domain="http://wotudo.net/blogs/wotudo/archive/tags/Paul+Foster/default.aspx">Paul Foster</category><category domain="http://wotudo.net/blogs/wotudo/archive/tags/Widgets/default.aspx">Widgets</category><category domain="http://wotudo.net/blogs/wotudo/archive/tags/OTA09/default.aspx">OTA09</category><category domain="http://wotudo.net/blogs/wotudo/archive/tags/vs2008/default.aspx">vs2008</category></item><item><title>OTA09: Widgets in Windows Mobile 6.5</title><link>http://wotudo.net/blogs/wotudo/archive/2009/09/25/ota09-widgets-in-windows-mobile-6-5.aspx</link><pubDate>Fri, 25 Sep 2009 17:30:40 GMT</pubDate><guid isPermaLink="false">2f2f3f54-a0d5-494d-ad23-22a6d9c85854:488</guid><dc:creator>paulfo</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Just finished my first session at &lt;a href="http://overtheair.org/" target="_blank"&gt;OTA09&lt;/a&gt; on the new Widget framework built into Windows Mobile 6.5. Thank you to everyone who attended the session I really enjoyed our discussions – its always great fun to be able interact at these sort of things.&lt;/p&gt;  &lt;p&gt;As promised I have packaged my slides as a PDF file which can be &lt;a href="http://wotudo.net/files/folders/how2/entry487.aspx" target="_blank"&gt;downloaded here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Now onto building my next session&amp;#160; - Building an augmented reality game. Tonight I have to pull this all together and have a game for tomorrow!!! If anyone would like to contribute ping me (Twitter @paulfo).&lt;/p&gt;  &lt;p&gt;Here’s to a great party tonight (and some serious coding)&lt;/p&gt;&lt;img src="http://wotudo.net/aggbug.aspx?PostID=488" width="1" height="1"&gt;</description><category domain="http://wotudo.net/blogs/wotudo/archive/tags/Windows+Mobile/default.aspx">Windows Mobile</category><category domain="http://wotudo.net/blogs/wotudo/archive/tags/wotudo/default.aspx">wotudo</category><category domain="http://wotudo.net/blogs/wotudo/archive/tags/Widgets/default.aspx">Widgets</category><category domain="http://wotudo.net/blogs/wotudo/archive/tags/OTA09/default.aspx">OTA09</category></item><item><title>Widgets!</title><link>http://wotudo.net/blogs/wotudo/archive/2009/09/21/widgets.aspx</link><pubDate>Mon, 21 Sep 2009 19:28:56 GMT</pubDate><guid isPermaLink="false">2f2f3f54-a0d5-494d-ad23-22a6d9c85854:477</guid><dc:creator>paulfo</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;a href="http://wotudo.net/blogs/wotudo/RockRepTouchPro2_206DD5FF_01849446.jpg"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;margin-left:0px;border-top:0px;margin-right:0px;border-right:0px;" title="RockRepTouchPro2_206DD5FF" border="0" alt="RockRepTouchPro2_206DD5FF" align="left" src="http://wotudo.net/blogs/wotudo/RockRepTouchPro2_206DD5FF_thumb_517A42C4.jpg" width="132" height="240" /&gt;&lt;/a&gt; I’ve been lucky enough to obtain my very own HTC Touch Pro2 running Windows Mobile 6.5 :-)&lt;/p&gt;  &lt;p&gt;Its been awhile since new gadgets landed on my desk – so to say I am keen to play with it, would be an understatement. It is also exciting to be back in the world of mobile development. I did a fair amount in the late 90’s and early 00’s but have been away doing other stuff for most of the last five years.&lt;/p&gt;  &lt;p&gt;Windows Mobile 6.5 has many interesting features – including new UI stuff – but it also has a built in Widgets platform. Widgets are very much in on the mobile device these days. Everyone is doing them! And so are we now.&lt;/p&gt;  &lt;p&gt;What are &lt;a href="http://msdn.microsoft.com/en-us/library/dd721906.aspx" target="_blank"&gt;Widgets&lt;/a&gt;. They are best described as local HTML/AJAX and JavaScript pages. They install using a compressed file – not a .CAB, but a .Widget. The zip file contains localisation directories,together with image, CSS style sheets and script resources and of course the HTML page that pulls everything together. They run in the mobile IE (mIE) sandbox but have some special Widget JS objects which let you get to some of the device detail – including some events and soft key definitions. This enables the Widgets to look very much like native applications – but they aren’t. They are local web pages which can consume web services asynchronously using the XmlHttpRequest object; they even have a limited amount of local storage (each field limited to 4000 characters).&lt;/p&gt;  &lt;p&gt;As web pages, they are easy to script and play nicely to the broad web developer skill set that exists. But because they ‘run’ locally, they can operate with more apparent integration to the device than starting a web browser and selecting a favourites link.&lt;/p&gt;  &lt;p&gt;There are also some disappointments. Running in the mIE sandbox prevents Widgets from getting to any of the cool new device functionality – like the GPS or G-Sensors. You do get device rotation events which enables you to restructure your display for portrait or landscape viewing – this can be done very simply by switching between alternative CSS style sheets.&lt;/p&gt;  &lt;p&gt;In theory, IDispatchEX COM components and ActiveX controls can also be hosted in a Widget, but I haven’t seen any examples as yet. I wonder if the Widget installer can register COM objects? Looking at an architecture diagram for the Widget platform there is a Security Broker between the ScriptEngine and plugins such as the Flash player, Windows Media, MSXML etc. I need to do some more research here to see how to create such plugins as I would really like to use the GPS from my Widgets!&lt;/p&gt;  &lt;p&gt;Widgets will come into their own with the opening of the Windows ® Marketplace for Mobile. This is a gallery of applications directly accessible to Windows Mobile 6.5 devices via what appears to be a widget which is part of the Windows Mobile 6.5 implementation. Developers of Widgets can publish their creations directly onto the Marketplace to sell them. So along with XNA Community Games for Xbox Live, we now have a (or at least very shortly will) mobile applications marketplace where developers can sell goods for real money!&lt;/p&gt;  &lt;p&gt;I think this is all very positive stuff. There a couple of rough edges: your device can’t install Widgets via any other means than the Marketplace application unless you enable the WMWidgetInstaller application via registry settings. Easy for us developers to do, but not so for the great unwashed. The Marketplace will go live when the Windows Mobile 6.5 devices are released to the shops – 6th Oct.&lt;/p&gt;  &lt;p&gt;Also the OMTP’s BONDI project which provides Widget infrastructure for Windows Mobile 6.0 and Windows Mobile 6.1 is rather cut off and left drifting. Although, looking through the list of planned developments for BONDI, not many seem to have progressed beyond the drawing board.&lt;/p&gt;  &lt;p&gt;Codeplex already has some nice utilities to help you build your Widgets. Some &lt;a href="http://wmwidgettemplate.codeplex.com/" target="_blank"&gt;templates for VS&lt;/a&gt; projects as well as Expression Web. A &lt;a href="http://widgetpackager.codeplex.com/" target="_blank"&gt;packager application&lt;/a&gt; that creates your &lt;a href="http://windowsteamblog.com/blogs/windowsphone/archive/2009/08/12/widget-anatomy-the-manifest.aspx" target="_blank"&gt;config.xml&lt;/a&gt; file which describes your Widget for&amp;#160; you. Unfortunately, the current version requires some tweaking as it fails to include the config.xml or the icon files you need within the ZIpped package file – which is also called .wgt rather than the required .Widget. But these are easily solved and importantly there are a number of Widget examples provided in the Codeplex download – good for getting started with.&lt;/p&gt;  &lt;p&gt;With so many service APIs now available (&lt;a href="http://www.bing.com/developers" target="_blank"&gt;Bing&lt;/a&gt; has a whole stack of stuff to play with) building Widgets is productive, useful and fun!&lt;/p&gt;  &lt;p&gt;I will be presenting a short session on Windows Mobile 6.5 Widget development at the &lt;a href="http://overtheair.org/blog" target="_blank"&gt;Over The Air&lt;/a&gt; event this Friday/Saturday.&lt;/p&gt;&lt;img src="http://wotudo.net/aggbug.aspx?PostID=477" width="1" height="1"&gt;</description><category domain="http://wotudo.net/blogs/wotudo/archive/tags/Mobile/default.aspx">Mobile</category><category domain="http://wotudo.net/blogs/wotudo/archive/tags/Windows+Mobile/default.aspx">Windows Mobile</category><category domain="http://wotudo.net/blogs/wotudo/archive/tags/wotudo/default.aspx">wotudo</category><category domain="http://wotudo.net/blogs/wotudo/archive/tags/Paul+Foster/default.aspx">Paul Foster</category><category domain="http://wotudo.net/blogs/wotudo/archive/tags/developer/default.aspx">developer</category><category domain="http://wotudo.net/blogs/wotudo/archive/tags/Widgets/default.aspx">Widgets</category></item></channel></rss>