<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://mobileworld.appamundi.com/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/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"><channel><title>APPA Mundi</title><link>http://mobileworld.appamundi.com/blogs/</link><description>Mobile World</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 (Build: 30912.2823)</generator><item><title>Windows Phone Sessions at MIX Announced</title><link>http://mobileworld.appamundi.com/blogs/peterfoot/archive/2010/03/05/windows-phone-sessions-at-mix-announced.aspx</link><pubDate>Sat, 06 Mar 2010 04:17:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:125</guid><dc:creator>Peter Foot</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;The covers have been lifted off of the twelve sessions at MIX in the Windows Phone track. Following on from yesterdays announcements that Windows Phone 7 development consists of Silverlight and XNA, these session descriptions tell more about the entire development experience including the Marketplace:-&lt;/p&gt;
&lt;p&gt;&lt;a href="http://live.visitmix.com/Sessions#/tags/WindowsPhone"&gt;http://live.visitmix.com/Sessions#/tags/WindowsPhone&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=125" width="1" height="1"&gt;</description><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/_2300_MIX10/default.aspx">#MIX10</category><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Windows+Phone/default.aspx">Windows Phone</category><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/_2300_WP7/default.aspx">#WP7</category></item><item><title>New Windows Mobile 6.5.3 DTK</title><link>http://mobileworld.appamundi.com/blogs/peterfoot/archive/2010/02/16/new-windows-mobile-6-5-3-dtk.aspx</link><pubDate>Tue, 16 Feb 2010 22:33:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:124</guid><dc:creator>Peter Foot</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c0213f68-2e01-4e5c-a8b2-35e081dcf1ca&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=c0213f68-2e01-4e5c-a8b2-35e081dcf1ca&amp;amp;displaylang=en&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This Developer Tool Kit acts as an add-on to the Windows Mobile 6 SDK. It adds in Windows Mobile 6.5 and 6.5.3 samples, APIs and Emulators. The download link includes separate Professional and Standard Edition packages along with a number of localised emulator images.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=124" width="1" height="1"&gt;</description><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Windows+Mobile/default.aspx">Windows Mobile</category></item><item><title>Windows Mobile 6.5.3 Developer Tool Kit</title><link>http://mobileworld.appamundi.com/blogs/petevickers/archive/2010/02/16/windows-mobile-6-5-3-developer-tool-kit.aspx</link><pubDate>Tue, 16 Feb 2010 22:05:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:123</guid><dc:creator>Pete Vickers</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;The Windows Mobile 6.5.3 Developer Tool Kit has been released, and is available at the &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c0213f68-2e01-4e5c-a8b2-35e081dcf1ca&amp;amp;displaylang=en" title="Microsoft Download Center"&gt;Microsoft Download Center&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:11pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-GB;mso-bidi-language:AR-SA;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;span&gt;The Windows Mobile 6.5.3 DTK provides documentation, sample code, header and library files, emulator images, and tools to Visual Studio that let you build applications for Windows Mobile 6.5 and 6.5.3.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:11pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-GB;mso-bidi-language:AR-SA;"&gt;It comes packed with some pretty cool new features you can add to your application like a Bing Map Control, Widget VS Integration, Bubble Tiles, Auto Dialog Layout, and more.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=123" width="1" height="1"&gt;</description><category domain="http://mobileworld.appamundi.com/blogs/petevickers/archive/tags/Windows+Mobile+6.5.3+Developer+Tool+Kit/default.aspx">Windows Mobile 6.5.3 Developer Tool Kit</category><category domain="http://mobileworld.appamundi.com/blogs/petevickers/archive/tags/Windows+Mobile/default.aspx">Windows Mobile</category><category domain="http://mobileworld.appamundi.com/blogs/petevickers/archive/tags/6.5.3/default.aspx">6.5.3</category><category domain="http://mobileworld.appamundi.com/blogs/petevickers/archive/tags/DTK/default.aspx">DTK</category></item><item><title>Windows Phone 7 Series announced.</title><link>http://mobileworld.appamundi.com/blogs/petevickers/archive/2010/02/16/windows-phone-7-series-announced.aspx</link><pubDate>Tue, 16 Feb 2010 20:52:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:121</guid><dc:creator>Pete Vickers</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Just in case you missed it, and don&amp;#39;t read my colleagues&amp;#39; blogs Microsoft anounced the new Windows Phone 7 Series at MWC in Barcelona.&lt;/p&gt;
&lt;p&gt;You can see lots of videos with full details and demos&amp;nbsp;&lt;a href="http://www.microsoft.com/presspass/presskits/windowsphone/" title="here"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;No announcement about development environments, but as Peter Foot points out in his &lt;a href="http://mobileworld.appamundi.com/blogs/peterfoot/archive/2010/02/15/developing-for-windows-phone-7.aspx" title="blog entry"&gt;blog entry&lt;/a&gt;, the full story should unfold at &lt;a href="http://live.visitmix.com/News/Exclusive-Windows-Phone-7-Series-Offer-for-MIX10-Attendees-WP7" title="MIX10"&gt;MIX10&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Exciting times!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=121" width="1" height="1"&gt;</description><category domain="http://mobileworld.appamundi.com/blogs/petevickers/archive/tags/Windows+Phone+7+Series/default.aspx">Windows Phone 7 Series</category><category domain="http://mobileworld.appamundi.com/blogs/petevickers/archive/tags/MWC+Barcelona/default.aspx">MWC Barcelona</category><category domain="http://mobileworld.appamundi.com/blogs/petevickers/archive/tags/MIX10/default.aspx">MIX10</category></item><item><title>Windows Phone 7 Series Announced</title><link>http://mobileworld.appamundi.com/blogs/andywigley/archive/2010/02/16/windows-phone-7-series-announced.aspx</link><pubDate>Tue, 16 Feb 2010 09:27:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:119</guid><dc:creator>Andy Wigley</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Yesterday, at Mobile World Congress in Barcelona, Microsoft announced their new mobile phone strategy and platform.&lt;/p&gt;
&lt;p&gt;&lt;img height="1027" width="393" src="http://mobileworld.appamundi.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.04/startscreen_5F00_web.jpg" alt="" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As Peter Foot has already reported in his blog (&lt;a href="http://mobileworld.appamundi.com/blogs/peterfoot/archive/2010/02/15/developing-for-windows-phone-7.aspx"&gt;http://mobileworld.appamundi.com/blogs/peterfoot/archive/2010/02/15/developing-for-windows-phone-7.aspx&lt;/a&gt;), the dev story will not be revealed until MIX 2010, which is next month: &lt;a href="http://windowsteamblog.com/blogs/wmdev/archive/2010/02/15/windows-phone-7-series-going-big-for-developers-at-mix10.aspx"&gt;http://windowsteamblog.com/blogs/wmdev/archive/2010/02/15/windows-phone-7-series-going-big-for-developers-at-mix10.aspx&lt;/a&gt;&amp;nbsp;.&lt;/p&gt;
&lt;p&gt;What we can see from the news conference and other postings on the web such as &lt;a href="http://www.microsoft.com/presspass/presskits/windowsphone/videoGallery.aspx"&gt;&lt;span&gt;http://www.microsoft.com/presspass/presskits/windowsphone/videoGallery.aspx&lt;/span&gt;&lt;/a&gt;&amp;nbsp;is that Microsoft has really made a clean break from the earlier generations of Windows Mobile phones. The OS is called &amp;#39;Windows Phone&amp;nbsp;OS 7&amp;#39; but no details have been released yet on how closely it resembles its predecessors and what it will be like as a platform for app development.&lt;/p&gt;
&lt;p&gt;How&amp;nbsp;all this will affect developers is yet to be explained, but clearly life is going to be exciting for those of us working in this space!&lt;/p&gt;
&lt;p&gt;&lt;a href="http://live.visitmix.com/News/Exclusive-Windows-Phone-7-Series-Offer-for-MIX10-Attendees-WP7"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="clear:both;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
&lt;hr /&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=119" width="1" height="1"&gt;</description></item><item><title>Bluetooth changes in Windows 7</title><link>http://mobileworld.appamundi.com/blogs/peterfoot/archive/2010/02/15/bluetooth-changes-in-windows-7.aspx</link><pubDate>Tue, 16 Feb 2010 04:09:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:118</guid><dc:creator>Peter Foot</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Since Bluetooth APIs were introduced into Windows (we are talking about the desktop OS here, not Windows CE / Windows Mobile / Windows Phone) there have been numerous updates and changes. Confusingly not all of these have been in Major updates or service packs but some changes are implemented in OEM only packages. We have been working on the 32feet.NET library to ensure we continue to support the new features in the Microsoft Bluetooth stack. There are a number of useful resources which describe the changes. Firstly Alan McFarlane, who has done a lot of really great work on the 32feet.NET library,&amp;nbsp;has put together a detailed description of the changes in Windows 7 including a dive into the native header files. As you&amp;#39;ll see one of the main area of changes is the support for Bluetooth 2.1 which introduces new authentication methods. You should read &lt;a target="_blank" href="http://www.alanjmcf.me.uk/comms/bluetooth/Bluetooth%20in%20Windows%207.html" title="Bluetooth in Windows 7"&gt;Alan&amp;#39;s full article&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I also noticed that Microsoft have published a new FAQ on Bluetooth support in Windows. Interestingly this covers the entire history of Bluetooth on desktop Windows showing which releases implemented which Bluetooth versions. It goes into some depth on developing drivers for Bluetooth devices too - for example if you implement the Device ID profile you are able to integrate into the new Device Stage UI in Windows 7. The Download is a Microsoft Word 2007 document:-&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.microsoft.com/download/9/c/5/9c5b2167-8017-4bae-9fde-d599bac8184a/Bth_FAQ.docx"&gt;http://download.microsoft.com/download/9/c/5/9c5b2167-8017-4bae-9fde-d599bac8184a/Bth_FAQ.docx&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=118" width="1" height="1"&gt;</description><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Bluetooth/default.aspx">Bluetooth</category></item><item><title>Developing for Windows Phone 7</title><link>http://mobileworld.appamundi.com/blogs/peterfoot/archive/2010/02/15/developing-for-windows-phone-7.aspx</link><pubDate>Mon, 15 Feb 2010 23:05:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:117</guid><dc:creator>Peter Foot</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;I&amp;#39;ve already had a couple of questions about how to develop applications for Windows Phone 7. At the moment the &amp;quot;developer story&amp;quot; has not been announced but over on the Windows Mobile Developer Blog they have announced that MIX10 will be where they discuss how to develop for Windows Phone 7:-&lt;/p&gt;
&lt;p&gt;&lt;a href="http://windowsteamblog.com/blogs/wmdev/archive/2010/02/15/windows-phone-7-series-going-big-for-developers-at-mix10.aspx"&gt;http://windowsteamblog.com/blogs/wmdev/archive/2010/02/15/windows-phone-7-series-going-big-for-developers-at-mix10.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Attendees will have access to a dedicated Windows Phone track (currently the 12 sessions are unnamed) and access to the Windows Phone 7 developer tools:-&lt;/p&gt;
&lt;p&gt;&lt;a href="http://live.visitmix.com/News/Exclusive-Windows-Phone-7-Series-Offer-for-MIX10-Attendees-WP7"&gt;http://live.visitmix.com/News/Exclusive-Windows-Phone-7-Series-Offer-for-MIX10-Attendees-WP7&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=117" width="1" height="1"&gt;</description><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/_2300_MIX10/default.aspx">#MIX10</category><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Windows+Phone/default.aspx">Windows Phone</category><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/_2300_WP7/default.aspx">#WP7</category></item><item><title>Error handling in .Net Compact Framework - And more</title><link>http://mobileworld.appamundi.com/blogs/petevickers/archive/2010/02/08/error-handling-in-net-compact-framework-and-more.aspx</link><pubDate>Mon, 08 Feb 2010 19:35:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:116</guid><dc:creator>Pete Vickers</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Error handling and tracing has always been a challenge, and many attempts have been made to automate error handling. I have tried various methods in the past, including writing my own error handler, that bolted in after the application had been written.&lt;/p&gt;
&lt;p&gt;Being an MVP, we tend to get offers to try products. A couple of months ago, I got just such and invitation from &lt;a href="http://www.eurekalog.com/index_dotnet.php" title="EurekaLog"&gt;EurekaLog&lt;/a&gt;. Being an old cynic, I originally thought &amp;#39;another product that promises, but fails to deliver&amp;#39; - but I was wrong (don&amp;#39;t tell my wife I admitted to being wrong). I downloaded the demo, and bolted it into a Windows forms application, and sure enough, it caught and reported my error. So I decided to take a look at the documentation. You can email yourself errors from your application. The email contains the error log containing&amp;nbsp;a trace of&amp;nbsp;your application, leading to the error, and optionally a screen shot of what was happening at the time.&amp;nbsp;You can get it to fill in bug reports on Firebugs and Biaxial. Best of all it does this &amp;#39;without code changes&amp;#39;. This is not strictly true, it adds 1 line to your application - and this it will do automatically. The product also contains a &amp;#39;log file analyzer&amp;#39;. In addition to seeing your call stack, you can see which processes were running on the system, which modules were loaded, user details, system details and much more. ASP.Net application are also supported. &lt;/p&gt;
&lt;p&gt;Now, for the best bit, for mobile developers - we have not been forgotten! .Net CF is supported, including emailing of logs. Obviously due to the limitations of the compact framework, you don&amp;#39;t get as much as in the full framework, but it works really well. To test it out, I knocked up a small program to create an error part way through running. The sample shown is in VB, but C# (and Delphi) are also supported. The code was:-&lt;/p&gt;
&lt;p&gt;&lt;img src="http://mobileworld.appamundi.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.02/eureka0.jpg" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;I then deployed the application to the emulator.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://mobileworld.appamundi.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.02/eureka1.jpg" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;Click on the &amp;#39;Test My Error&amp;#39; button to generate the error, and EurekaLog kicks in for you.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://mobileworld.appamundi.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.02/eureka2.jpg" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Click on the &amp;#39;View error report&amp;#39; to get more details....&lt;/p&gt;
&lt;p&gt;&lt;img src="http://mobileworld.appamundi.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.02/eureka3.jpg" alt="" /&gt;&lt;img src="http://mobileworld.appamundi.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.02/eureka4.jpg" alt="" /&gt;&lt;br /&gt;Click on &amp;#39;Send Error report&amp;#39;, and the application opens a mail message, and adds your error log to it automatically. All your user has to do is send the email (I have a request in to the developer to make this happen automatically, as in the desktop version).&lt;/p&gt;
&lt;p&gt;That is all there is to it. The code for EurekaLog is added automatically to your &amp;#39;Sub Main&amp;#39; (or Sub Main is created if you don&amp;#39;t have one!). The code added to your program is:-&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EurekaLogSystem.ExceptionHandler.Activate()&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;For mobile developers, whose applications are generally remote, this is a great addition to our armory. Using EurekaLog along with the excellent &lt;a href="http://www.soti.net/default.asp?Cmd=Products&amp;amp;SubCmd=MC" title="MobiControl"&gt;MobiControl&lt;/a&gt;&amp;nbsp;allows you to get details of your error, fix it, and deploy it remotely, all without leaving the comfort of your office chair.&lt;/p&gt;
&lt;p&gt;I heartily recommend this tool as it addresses a real world problem, and solves it in an unobtrusive way. The support from the developers is excellent, and for a relatively small outlay, you get a product that will support Windows Forms applications, ASP.Net &lt;strong&gt;AND &lt;/strong&gt;.Net Compact framework. &lt;/p&gt;
&lt;p&gt;There is a 30 day trial you can download &lt;a href="http://www.eurekalog.com/downloads_dotnet.php" title="download evaluation"&gt;here&lt;/a&gt;, and the price of the full product is very reasonable. Give it a try - it may save your bacon!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=116" width="1" height="1"&gt;</description></item><item><title>SQL Search</title><link>http://mobileworld.appamundi.com/blogs/petevickers/archive/2010/02/08/sql-search.aspx</link><pubDate>Mon, 08 Feb 2010 18:38:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:115</guid><dc:creator>Pete Vickers</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I am a great fan of &lt;a href="http://www.red-gate.com/" title="Redgate"&gt;Redgate&lt;/a&gt;&amp;nbsp;tools for both SQL Server and .Net development.&lt;/p&gt;
&lt;p&gt;They write superb tools for developers - I find SQL Toolbelt invaluable for working with SQL Server. &lt;/p&gt;
&lt;p&gt;The have just produced a new &lt;strong&gt;FREE &lt;/strong&gt;tool call &lt;a href="http://www.red-gate.com/products/SQL_Search/index.htm" title="SQL Search"&gt;SQL Search&lt;/a&gt;&amp;nbsp;which does exactly what it does on the tin. &lt;/p&gt;
&lt;p&gt;It integrates on your toolbar on SQL Server Management Studio, and allows you to quickly search your database(s). You can find all fragments of a string for example, or assess the impact of changes. You can search for a field name, and it will tell you in which tables, store procedures, triggers the field occurs, and then quickly navigate to them. It is very fast in operation, after it has initially indexed your databases.&lt;/p&gt;
&lt;p&gt;It is a great addition to their range of excellent SQL Server tools. I was involved in the &amp;#39;beta&amp;#39;, and since loading it, I have probably used it every day and would now be lost without it.&lt;/p&gt;
&lt;p&gt;Only bad news for us mobile developers, SQL Server CE is not currently supported.&lt;/p&gt;
&lt;p&gt;Did I mention it was &lt;strong&gt;FREE&lt;/strong&gt;?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=115" width="1" height="1"&gt;</description><category domain="http://mobileworld.appamundi.com/blogs/petevickers/archive/tags/SQL+Search/default.aspx">SQL Search</category><category domain="http://mobileworld.appamundi.com/blogs/petevickers/archive/tags/Redgate/default.aspx">Redgate</category><category domain="http://mobileworld.appamundi.com/blogs/petevickers/archive/tags/SQL+Server/default.aspx">SQL Server</category></item><item><title>Win a trip to PDC in Los Angeles</title><link>http://mobileworld.appamundi.com/blogs/peterfoot/archive/2010/01/31/win-a-trip-to-pdc-in-los-angeles.aspx</link><pubDate>Mon, 01 Feb 2010 00:42:49 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:114</guid><dc:creator>Peter Foot</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;a href="http://www.buzzchannel.co.nz/SE/default.aspx?u=25f9038de6064c22a815967a7949e2ad" target="_blank"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" title="" border="0" alt="" src="http://mobileworld.appamundi.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/peterfoot/cid_5F00_image002_5F00_png01CAA1B9_5F00_2A6FBC64.png" width="627" height="102" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Microsoft New Zealand are running a competition to win a trip to the next Microsoft PDC event in Los Angeles. It is open to all developers living in New Zealand. All you need to do to enter is help them out with questionnaire:-&lt;/p&gt;  &lt;p&gt;&lt;em&gt;“Targeted towards NZ developers, we want to get a better understanding and better cater our resources, events and training in the future. The survey is from now until the end of April. One lucky NZ developer will win an all expenses paid trip to the next PDC in LA.”&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.buzzchannel.co.nz/SE/default.aspx?u=25f9038de6064c22a815967a7949e2ad" target="_blank"&gt;Click here to complete the survey&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=114" width="1" height="1"&gt;</description></item><item><title>Application and File Icons with Mobile In The Hand 4.0</title><link>http://mobileworld.appamundi.com/blogs/peterfoot/archive/2010/01/26/application-and-file-icons-with-mobile-in-the-hand-4-0.aspx</link><pubDate>Tue, 26 Jan 2010 22:16:12 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:113</guid><dc:creator>Peter Foot</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;There are a number of scenarios in which you want to retrieve the icon associated with a particular executable or other file type. One example is when building a file browser, you might also want to extract the icon associated with your application or another. The full .NET framework contains Icon.ExtractAssociatedIcon() for this very purpose. Mobile In The Hand includes a helper function to achieve the same result from the Compact Framework. Simply use the following code:-&lt;/p&gt;  &lt;div style="padding-bottom:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;float:none;padding-top:0px;" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:81759d9f-0e4e-4201-8918-3b07f748db21" class="wlWriterEditableSmartContent"&gt; &lt;div style="border:#000080 1px solid;color:#000;font-family:&amp;#39;Courier New&amp;#39;, Courier, Monospace;font-size:10pt;"&gt; &lt;div style="background:#ddd;max-height:300px;overflow:auto;"&gt; &lt;ol style="background:#ffffff;margin:0 0 0 2em;padding:0 0 0 5px;"&gt; &lt;li&gt;&lt;span style="color:#2b91af;"&gt;Icon&lt;/span&gt; i = &lt;span style="color:#2b91af;"&gt;IconHelper&lt;/span&gt;.ExtractAssociatedIcon(filePath);&lt;/li&gt; &lt;/ol&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt;  &lt;p&gt;filePath is the full path to any file. The icon will either be the icon associated with a particular file type or in the case of executables will be the embedded application icon (or a generic application icon if not present). The result is a regular System.Drawing.Icon type which you can draw using the Graphics class normally.&lt;/p&gt;  &lt;p&gt;The documentation for the IconHelper class is available in &lt;a href="http://inthehand.com/library/"&gt;the online library&lt;/a&gt;. For more information about Mobile In The Hand see &lt;a href="http://inthehand.com/content/Mobile.aspx"&gt;the product page&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=113" width="1" height="1"&gt;</description><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Windows+Mobile/default.aspx">Windows Mobile</category><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Compact+Framework/default.aspx">Compact Framework</category><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Mobile4/default.aspx">Mobile4</category></item><item><title>Interesting Windows Phone News for MIX10</title><link>http://mobileworld.appamundi.com/blogs/peterfoot/archive/2010/01/20/interesting-windows-phone-news-for-mix10.aspx</link><pubDate>Wed, 20 Jan 2010 22:35:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:112</guid><dc:creator>Peter Foot</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;There have been rumours floating around all over the web about Windows Phone future versions. Microsoft have remained tight lipped allowing various tech sites to come up with all sorts of fanciful stories. However a tantalising news snippet has appeared on Microsoft&amp;#39;s website for MIX10 the conference for designers and developers coming up in March in Las Vegas:-&lt;/p&gt;
&lt;p&gt;&lt;a href="http://live.visitmix.com/News/Windows-Phone-at-MIX10"&gt;http://live.visitmix.com/News/Windows-Phone-at-MIX10&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It will definitely be worth keeping an eye on this event, hopefully more information will be released as the sessions and schedule are firmed up:-&lt;/p&gt;
&lt;p&gt;&lt;a href="http://live.visitmix.com/Sessions#/tags/WindowsPhone"&gt;http://live.visitmix.com/Sessions#/tags/WindowsPhone&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=112" width="1" height="1"&gt;</description><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Windows+Mobile/default.aspx">Windows Mobile</category></item><item><title>New Development Certificates</title><link>http://mobileworld.appamundi.com/blogs/peterfoot/archive/2010/01/13/new-development-certificates.aspx</link><pubDate>Thu, 14 Jan 2010 02:25:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:111</guid><dc:creator>Peter Foot</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Microsoft have now released some replacement developer certificates for Windows Mobile. See this post for details and a download link:-&lt;/p&gt;
&lt;p&gt;&lt;a href="http://windowsteamblog.com/blogs/wmdev/archive/2010/01/12/new-windows-mobile-developer-certificates.aspx"&gt;http://windowsteamblog.com/blogs/wmdev/archive/2010/01/12/new-windows-mobile-developer-certificates.aspx&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=111" width="1" height="1"&gt;</description><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Windows+Mobile/default.aspx">Windows Mobile</category></item><item><title>Expired Development Certificates</title><link>http://mobileworld.appamundi.com/blogs/peterfoot/archive/2010/01/10/expired-development-certificates.aspx</link><pubDate>Sun, 10 Jan 2010 21:52:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:110</guid><dc:creator>Peter Foot</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;As some of you may have noticed the development certificates which are shipped with the Windows Mobile 6 SDK all expired on 31st December 2009. There have been no updates provided yet so the only official workaround is to fiddle with the date on your development PC and devices to set it before 31/12/2009. A ray of hope has been cast by moderator &amp;quot;Chunsheng Tang&amp;quot; on the MSDN forums:-&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;FYI. The issue will be addressed in the next SDK update in the near furture. Besides the workarounds mentioned in this thread, you can also&amp;nbsp;temporarily change the date of the development PC and the devices backward (make sure it&amp;#39;s before 12/31/2009).&amp;quot;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=110" width="1" height="1"&gt;</description><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Windows+Mobile/default.aspx">Windows Mobile</category></item><item><title>Replacement for Type.GUID</title><link>http://mobileworld.appamundi.com/blogs/peterfoot/archive/2010/01/04/replacement-for-type-guid.aspx</link><pubDate>Mon, 04 Jan 2010 05:12:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:109</guid><dc:creator>Peter Foot</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;A question came up on the newsgroups of how to get the Guid assigned to a Type via a GuidAttribute. Typically this will be defined when creating a manged Class/Interface to match a COM exposed CoClass/Interface. The desktop exposes a GUID property of the Type class. The workaround for the Compact Framework is fairly straight-forward and for convenience I have posted an amendment to my solution below in the form of an Extension method. This means that from your code you can achieve the desired result with Type.GetGUID() &amp;ndash; which is as near as can be to the desktop syntax:-&lt;/p&gt;
&lt;div class="wlWriterEditableSmartContent" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:2f62c1bc-a9aa-40b5-a521-9373e3488337" style="padding-bottom:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;float:none;padding-top:0px;"&gt;
&lt;div style="border:#000080 1px solid;color:#000;font-family:&amp;#39;Courier New&amp;#39;, Courier, Monospace;font-size:10pt;"&gt;
&lt;div style="background:#ddd;max-height:400px;overflow:auto;"&gt;&lt;ol style="background:#ffffff;margin:0 0 0 2.5em;padding:0 0 0 5px;"&gt;
&lt;li&gt;&lt;span style="color:#808080;"&gt;///&lt;/span&gt;&lt;span style="color:#008000;"&gt; &lt;/span&gt;&lt;span style="color:#808080;"&gt;&amp;lt;summary&amp;gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style="background:#f3f3f3;"&gt;&lt;span style="color:#808080;"&gt;///&lt;/span&gt;&lt;span style="color:#008000;"&gt; Extension method to get the GUID associated with the Type.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="color:#808080;"&gt;///&lt;/span&gt;&lt;span style="color:#008000;"&gt; &lt;/span&gt;&lt;span style="color:#808080;"&gt;&amp;lt;/summary&amp;gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style="background:#f3f3f3;"&gt;&lt;span style="color:#808080;"&gt;///&lt;/span&gt;&lt;span style="color:#008000;"&gt; &lt;/span&gt;&lt;span style="color:#808080;"&gt;&amp;lt;param name=&amp;quot;t&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:#008000;"&gt;the Type.&lt;/span&gt;&lt;span style="color:#808080;"&gt;&amp;lt;/param&amp;gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="color:#808080;"&gt;///&lt;/span&gt;&lt;span style="color:#008000;"&gt; &lt;/span&gt;&lt;span style="color:#808080;"&gt;&amp;lt;returns&amp;gt;&lt;/span&gt;&lt;span style="color:#008000;"&gt;The GUID associated with the Type.&lt;/span&gt;&lt;span style="color:#808080;"&gt;&amp;lt;/returns&amp;gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style="background:#f3f3f3;"&gt;&lt;span style="color:#0000ff;"&gt;public static &lt;/span&gt;&lt;span style="color:#2b91af;"&gt;Guid&lt;/span&gt; GetGUID(&lt;span style="color:#0000ff;"&gt;this&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;Type&lt;/span&gt; t)&lt;/li&gt;
&lt;li&gt;{&lt;/li&gt;
&lt;li style="background:#f3f3f3;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:#2b91af;"&gt;Guid&lt;/span&gt; typeGuid = &lt;span style="color:#2b91af;"&gt;Guid&lt;/span&gt;.Empty;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:#0000ff;"&gt;object&lt;/span&gt;[] attributes = t.GetCustomAttributes(&lt;span style="color:#0000ff;"&gt;false&lt;/span&gt;);&lt;/li&gt;
&lt;li style="background:#f3f3f3;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:#0000ff;"&gt;foreach&lt;/span&gt; (&lt;span style="color:#0000ff;"&gt;object&lt;/span&gt; o &lt;span style="color:#0000ff;"&gt;in&lt;/span&gt; attributes)&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/li&gt;
&lt;li style="background:#f3f3f3;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:#0000ff;"&gt;if&lt;/span&gt; (o &lt;span style="color:#0000ff;"&gt;is&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;GuidAttribute&lt;/span&gt;)&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/li&gt;
&lt;li style="background:#f3f3f3;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:#008000;"&gt;//has GuidAttribute - get the value&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:#2b91af;"&gt;GuidAttribute&lt;/span&gt; ga = (&lt;span style="color:#2b91af;"&gt;GuidAttribute&lt;/span&gt;)o;&lt;/li&gt;
&lt;li style="background:#f3f3f3;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;typeGuid = &lt;span style="color:#0000ff;"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;Guid&lt;/span&gt;(ga.Value);&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/li&gt;
&lt;li style="background:#f3f3f3;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/li&gt;
&lt;li style="background:#f3f3f3;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:#0000ff;"&gt;return&lt;/span&gt; typeGuid;&lt;/li&gt;
&lt;li&gt;}&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have switched to using Live Writer for blog posts (no idea why I didn&amp;rsquo;t try it before) and it has much better support for code formatting especially with the &amp;ldquo;Paste as VS Code&amp;rdquo; plug-in.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=109" width="1" height="1"&gt;</description><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Compact+Framework/default.aspx">Compact Framework</category></item><item><title>Happy New Year</title><link>http://mobileworld.appamundi.com/blogs/peterfoot/archive/2009/12/30/happy-new-year.aspx</link><pubDate>Thu, 31 Dec 2009 03:03:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:107</guid><dc:creator>Peter Foot</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;My last post of 2009 is just a quick message to&amp;nbsp;send all the readers of this blog best wishes for 2010 and to thank you for your support this year. 2009 was a very busy year and not just on the work front as this year I got married and moved half way across the world with my amazing wife. In hind-sight trying to organise both at the same time was very ambitious but it all worked out great and we&amp;#39;ve had some wonderful adventures! I can only hope that 2010 will be as exciting and rewarding.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=107" width="1" height="1"&gt;</description></item><item><title>Email Configuration with Mobile In The Hand 4.0</title><link>http://mobileworld.appamundi.com/blogs/peterfoot/archive/2009/12/30/email-configuration-with-mobile-in-the-hand-4-0.aspx</link><pubDate>Thu, 31 Dec 2009 02:48:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:106</guid><dc:creator>Peter Foot</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;One of the new items introduced in version 4.0 is a wrapper for the Email configuration provider. This provides a one-stop-shop to access and modify email account settings. This is used for all email account types except for Exchange synchronisation. Each account is identified by a unique Guid so to work with account settings you&amp;#39;ll need to know this. This is exposed through a property of the EmailAccount object, for example the following code loops through all available EmailAccounts for which there is a unique ID (excludes the Exchange account).&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;foreach &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small;"&gt;(&lt;/span&gt;&lt;span style="color:#2b91af;font-size:x-small;"&gt;&lt;span style="color:#2b91af;font-size:x-small;"&gt;EmailAccount&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small;"&gt; ea &lt;/span&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;in&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small;"&gt; os.EmailAccounts) &lt;span style="font-size:x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&amp;nbsp;&amp;nbsp; if&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small;"&gt; (ea.Properties[&lt;/span&gt;&lt;span style="color:#2b91af;font-size:x-small;"&gt;&lt;span style="color:#2b91af;font-size:x-small;"&gt;AccountProperty&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small;"&gt;.UniqueStoreID] != &lt;/span&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;null&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small;"&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The UniqueStoreID is a Guid property and so can be cast to the Guid type (the Properties collection returns items of type object because it caters for all different types of properties).&lt;/p&gt;
&lt;p&gt;Guid g = (Guid)ea.Properties[AccountProperty.UniqueStoreID];&lt;/p&gt;
&lt;p&gt;The EmailAccountConfiguration class is located in InTheHand.WindowsMobile.Configuration.dll in the InTheHand.WindowsMobile.Configuration.Providers namespace. A new instance is created by passing the Guid into the constructor:-&lt;/p&gt;
&lt;p&gt;InTheHand.WindowsMobile.Configuration.Providers.EmailAccountConfiguration eac = new InTheHand.WindowsMobile.Configuration.Providers.EmailAccountConfiguration(g);&lt;/p&gt;
&lt;p&gt;Once created you have access to a number of properties which describe the account, you can change any of these and push your changes by calling the Update() method. Properties available include the incoming and outgoing servers, the ServiceType - either &amp;quot;POP3&amp;quot; or &amp;quot;IMAP4&amp;quot;, DownloadDays (number of past days to download) and many more. The documentation for the class is available in &lt;a target="_blank" href="http://inthehand.com/library/" title="In The Hand - Library"&gt;the online library&lt;/a&gt;. For more information about Mobile In The Hand see &lt;a target="_blank" href="http://inthehand.com/content/Mobile.aspx" title="Mobile In The Hand"&gt;the product page&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=106" width="1" height="1"&gt;</description><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Windows+Mobile/default.aspx">Windows Mobile</category><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Compact+Framework/default.aspx">Compact Framework</category><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Mobile4/default.aspx">Mobile4</category></item><item><title>Internet Connection Sharing with Mobile In The Hand 4.0</title><link>http://mobileworld.appamundi.com/blogs/peterfoot/archive/2009/12/22/internet-connection-sharing-with-mobile-in-the-hand-4-0.aspx</link><pubDate>Tue, 22 Dec 2009 18:47:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:105</guid><dc:creator>Peter Foot</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;In&amp;nbsp;Mobile In The Hand&amp;nbsp;4.0 all the Windows Mobile networking features are found in the InTheHand.WindowsMobile.Net assembly. This contains support for Connection Manager, Internet Sharing and Wireless Manager. This post will look at the Internet Sharing classes. Internet Sharing was introduced in Windows Mobile 5.0 AKU 3 but is generally associated with Windows Mobile 6. You can share an internet connection over a USB connection or over Bluetooth using the PAN (Personal Area Network) profile. To enable or disable a sharing session from your code you need only call a single method which looks like this:-&lt;/p&gt;
&lt;p&gt;InTheHand.WindowsMobile.Net.InternetSharing.Enable(InTheHand.WindowsMobile.Net.SharingConnection.Bluetooth,&amp;quot;O2&amp;quot;)&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:x-small;"&gt;The first argument is a member of the SharingConnection enumeration which contains values for Bluetooth and Usb. The second argument is the name of the internet connection to use - this is the name of the GPRS connection which will be dialled. A simple Disable method exists to shut down the sharing connection:-&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:x-small;"&gt;
&lt;p&gt;InTheHand.WindowsMobile.Net.InternetSharing.Disable()&lt;/p&gt;
&lt;p&gt;You must remember to disable the connection once you have finished using it.&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:x-small;"&gt;A &lt;a target="_blank" href="http://inthehand.com/library/" title="In The Hand Library"&gt;&lt;span style="color:#006633;"&gt;full online library&lt;/span&gt;&lt;/a&gt; of class documentation for all this and more is available. For more information about Mobile In The Hand see &lt;a target="_blank" href="http://inthehand.com/content/Mobile.aspx" title="Mobile In The Hand"&gt;&lt;span style="color:#006633;"&gt;the product page&lt;/span&gt;&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=105" width="1" height="1"&gt;</description><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Windows+Mobile/default.aspx">Windows Mobile</category><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Compact+Framework/default.aspx">Compact Framework</category><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Mobile4/default.aspx">Mobile4</category></item><item><title>More on "My" Functionality in Mobile In The Hand 4.0</title><link>http://mobileworld.appamundi.com/blogs/peterfoot/archive/2009/12/15/more-on-quot-my-quot-functionality-in-mobile-in-the-hand-4-0.aspx</link><pubDate>Tue, 15 Dec 2009 22:44:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:103</guid><dc:creator>Peter Foot</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;In the &lt;a target="_blank" href="http://mobileworld.appamundi.com/blogs/peterfoot/archive/2009/12/07/new-quot-my-quot-functionality-in-mobile-in-the-hand-4-0.aspx" title="New &amp;quot;My&amp;quot; Functionality in Mobile In The Hand 4.0"&gt;last post on &amp;quot;My&amp;quot; functionality&lt;/a&gt; I showed you how to get started adding the My Extensions to your project. In this post I have assembled a detailed tree of all the &amp;quot;My&amp;quot; functionality added in Mobile In The Hand 4.0.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;My 
&lt;ul&gt;
&lt;li&gt;Application 
&lt;ul&gt;
&lt;li&gt;Culture&lt;/li&gt;
&lt;li&gt;Info 
&lt;ul&gt;
&lt;li&gt;AssemblyName&lt;/li&gt;
&lt;li&gt;CompanyName&lt;/li&gt;
&lt;li&gt;Copyright&lt;/li&gt;
&lt;li&gt;Description&lt;/li&gt;
&lt;li&gt;DirectoryPath&lt;/li&gt;
&lt;li&gt;ProductName&lt;/li&gt;
&lt;li&gt;Title&lt;/li&gt;
&lt;li&gt;Trademark&lt;/li&gt;
&lt;li&gt;Version&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;UICulture&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Computer 
&lt;ul&gt;
&lt;li&gt;Audio 
&lt;ul&gt;
&lt;li&gt;Play()&lt;/li&gt;
&lt;li&gt;PlaySystemSound()&lt;/li&gt;
&lt;li&gt;Stop()&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Clipboard 
&lt;ul&gt;
&lt;li&gt;Clear()&lt;/li&gt;
&lt;li&gt;GetData()&lt;/li&gt;
&lt;li&gt;GetDataObject()&lt;/li&gt;
&lt;li&gt;GetImage()&lt;/li&gt;
&lt;li&gt;GetText()&lt;/li&gt;
&lt;li&gt;SetData()&lt;/li&gt;
&lt;li&gt;SetDataObject()&lt;/li&gt;
&lt;li&gt;SetImage()&lt;/li&gt;
&lt;li&gt;SetText()&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Clock 
&lt;ul&gt;
&lt;li&gt;GmtTime&lt;/li&gt;
&lt;li&gt;LocalTime&lt;/li&gt;
&lt;li&gt;TickCount&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;FileSystem 
&lt;ul&gt;
&lt;li&gt;CombinePath()&lt;/li&gt;
&lt;li&gt;CopyDirectory()&lt;/li&gt;
&lt;li&gt;CopyFile()&lt;/li&gt;
&lt;li&gt;CreateDirectory()&lt;/li&gt;
&lt;li&gt;DeleteDirectory()&lt;/li&gt;
&lt;li&gt;DeleteFile()&lt;/li&gt;
&lt;li&gt;Drives&lt;/li&gt;
&lt;li&gt;FileExists()&lt;/li&gt;
&lt;li&gt;GetDirectories()&lt;/li&gt;
&lt;li&gt;GetDirectoryInfo()&lt;/li&gt;
&lt;li&gt;GetDriveInfo()&lt;/li&gt;
&lt;li&gt;GetFileInfo()&lt;/li&gt;
&lt;li&gt;GetFiles()&lt;/li&gt;
&lt;li&gt;GetName()&lt;/li&gt;
&lt;li&gt;GetParentPath()&lt;/li&gt;
&lt;li&gt;GetTempFileName()&lt;/li&gt;
&lt;li&gt;MoveDirectory()&lt;/li&gt;
&lt;li&gt;MoveFile()&lt;/li&gt;
&lt;li&gt;OpenTextFileReader()&lt;/li&gt;
&lt;li&gt;OpenTextFileWriter()&lt;/li&gt;
&lt;li&gt;ReadAllBytes()&lt;/li&gt;
&lt;li&gt;ReadAllText()&lt;/li&gt;
&lt;li&gt;RenameDirectory()&lt;/li&gt;
&lt;li&gt;RenameFile()&lt;/li&gt;
&lt;li&gt;SpecialDirectories 
&lt;ul&gt;
&lt;li&gt;CurrentUserApplicationData&lt;/li&gt;
&lt;li&gt;MyDocuments&lt;/li&gt;
&lt;li&gt;ProgramFiles&lt;/li&gt;
&lt;li&gt;Programs&lt;/li&gt;
&lt;li&gt;Temp&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;WriteAllBytes()&lt;/li&gt;
&lt;li&gt;WriteAllText()&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Info 
&lt;ul&gt;
&lt;li&gt;AvailablePhysicalMemory&lt;/li&gt;
&lt;li&gt;AvailableVirtualMemory&lt;/li&gt;
&lt;li&gt;InstalledUICulture&lt;/li&gt;
&lt;li&gt;OSPlatform&lt;/li&gt;
&lt;li&gt;OSVersion&lt;/li&gt;
&lt;li&gt;TotalPhysicalMemory&lt;/li&gt;
&lt;li&gt;TotalVirtualMemory&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Keyboard 
&lt;ul&gt;
&lt;li&gt;SendKeys()&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Name&lt;/li&gt;
&lt;li&gt;Ports
&lt;ul&gt;
&lt;li&gt;OpenSerialPort()&lt;/li&gt;
&lt;li&gt;SerialPortNames&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Registry 
&lt;ul&gt;
&lt;li&gt;ClassesRoot&lt;/li&gt;
&lt;li&gt;CurrentUser&lt;/li&gt;
&lt;li&gt;GetValue()&lt;/li&gt;
&lt;li&gt;LocalMachine&lt;/li&gt;
&lt;li&gt;SetValue()&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Screen&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;User 
&lt;ul&gt;
&lt;li&gt;Name&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A &lt;a target="_blank" href="http://inthehand.com/library/" title="In The Hand Library"&gt;&lt;span style="color:#006633;"&gt;full online library&lt;/span&gt;&lt;/a&gt; of class documentation for all this and more is available. For more information about Mobile In The Hand see &lt;a target="_blank" href="http://inthehand.com/content/Mobile.aspx" title="Mobile In The Hand"&gt;&lt;span style="color:#006633;"&gt;the product page&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=103" width="1" height="1"&gt;</description><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Windows+Mobile/default.aspx">Windows Mobile</category><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Compact+Framework/default.aspx">Compact Framework</category><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Mobile4/default.aspx">Mobile4</category></item><item><title>Vibration and Profiles with Mobile In The Hand 4.0</title><link>http://mobileworld.appamundi.com/blogs/peterfoot/archive/2009/12/14/vibration-and-profiles-with-mobile-in-the-hand-4-0.aspx</link><pubDate>Mon, 14 Dec 2009 21:58:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:102</guid><dc:creator>Peter Foot</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;One of the goals of the Mobile In The Hand library has always been to provide a consistent managed API regardless of which specific flavour of Windows Mobile device you are using. One example of this is using the Vibration feature used to alert the user. The APIs are completely different and so we have provided a simple managed API composing of just two static methods:-&lt;/p&gt;
&lt;p&gt;InTheHand.WindowsMobile.Forms.Vibrate.Play();&lt;/p&gt;
&lt;p&gt;System.Threading.Thread.Sleep(500);&lt;/p&gt;
&lt;p&gt;InTheHand.WindowsMobile.Forms.Vibrate.Stop();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You generally won&amp;#39;t want to vibrate the device for very long because it would be both annoying, and a battery drain. To avoid holding up your UI thread you can call the methods on a separate thread. Just remember you must call Stop() to turn off the vibration.&lt;/p&gt;
&lt;p&gt;Another example of functionality which is implemented differently between touchscreen and non-touchscreen devices&amp;nbsp;are Profiles. Standard Edition devices can feature a number of profiles for different scenarios, touch screen devices have just three - On, Vibrate only and Off. To retrieve all of the available profiles use the following code:-&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;foreach(string profile in InTheHand.WindowsMobile.Forms.MobileDevice.Profiles)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;MessageBox.Show(profile);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;You can set the device profile using a call to &lt;strong&gt;SetProfile&lt;/strong&gt;:-&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;p&gt;InTheHand.WindowsMobile.Forms.MobileDevice.SetProfile(&amp;quot;Vibrate&amp;quot;);&lt;/p&gt;
&lt;p&gt;The name of the currently selected profile is available from the &lt;strong&gt;CurrentProfile&lt;/strong&gt; property:-&lt;/p&gt;
&lt;p&gt;MessageBox.Show(InTheHand.WindowsMobile.Forms.MobileDevice.CurrentProfile);&lt;/p&gt;
&lt;p&gt;A &lt;a target="_blank" href="http://inthehand.com/library/" title="In The Hand Library"&gt;&lt;span style="color:#006633;"&gt;full online library&lt;/span&gt;&lt;/a&gt; of class documentation for all this and more is available. For more information about Mobile In The Hand see &lt;a target="_blank" href="http://inthehand.com/content/Mobile.aspx" title="Mobile In The Hand"&gt;&lt;span style="color:#006633;"&gt;the product page&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=102" width="1" height="1"&gt;</description><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Windows+Mobile/default.aspx">Windows Mobile</category><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Compact+Framework/default.aspx">Compact Framework</category><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Mobile4/default.aspx">Mobile4</category></item><item><title>Using Bluetooth Headsets with Mobile In The Hand 4.0</title><link>http://mobileworld.appamundi.com/blogs/peterfoot/archive/2009/12/11/using-bluetooth-headsets-with-mobile-in-the-hand-4-0.aspx</link><pubDate>Fri, 11 Dec 2009 05:31:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:101</guid><dc:creator>Peter Foot</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;A commonly requested feature is the ability to switch audio to play through a Bluetooth headset device. Mobile In The Hand 4.0 brings this functionality to .NET Compact Framework developers allowing you to play any device audio through a paired headset device. It also includes classes to playback sounds too.&lt;/p&gt;
&lt;p&gt;The AudioGateway sample application which ships with the library contains the functionality to playback a sound file and toggle between the device speaker and a headset. The code to perform the switch is incredibly simple:-&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;private &lt;/span&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&amp;nbsp;&lt;/span&gt; &lt;span style="color:#2b91af;font-size:x-small;"&gt;BluetoothAudioGateway&lt;/span&gt;&lt;span style="font-size:x-small;"&gt; bag = &lt;/span&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;new&lt;/span&gt;&lt;span style="font-size:x-small;"&gt; &lt;/span&gt;&lt;span style="color:#2b91af;font-size:x-small;"&gt;BluetoothAudioGateway&lt;/span&gt;&lt;span style="font-size:x-small;"&gt;();&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:x-small;"&gt;The &lt;strong&gt;BluetoothAudioGateway&lt;/strong&gt; exists in the &lt;strong&gt;InTheHand.WindowsMobile.Media&lt;/strong&gt; namespace. A &lt;strong&gt;CheckBox&lt;/strong&gt; control toggles the output using the following code:-&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;p&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;private &lt;/span&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&amp;nbsp; &lt;/span&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;void&lt;/span&gt;&lt;span style="color:#000000;font-size:x-small;"&gt; chkGateway_CheckStateChanged(&lt;/span&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;object&lt;/span&gt;&lt;span style="color:#000000;font-size:x-small;"&gt; sender, &lt;/span&gt;&lt;span style="color:#2b91af;font-size:x-small;"&gt;EventArgs&lt;/span&gt;&lt;span style="font-size:x-small;"&gt;&lt;span style="color:#000000;"&gt; e)&lt;/span&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;span style="font-size:x-small;"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&amp;nbsp;&amp;nbsp; if&lt;/span&gt;&lt;span style="font-size:x-small;"&gt; (chkGateway.Checked)
&lt;p&gt;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bag.OpenAudio();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;span style="font-size:x-small;"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&amp;nbsp;&amp;nbsp; else&lt;/span&gt;&lt;/p&gt;
&lt;span style="font-size:x-small;"&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bag.CloseAudio();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;OpenAudio&lt;/strong&gt; opens the connection to the headset and sends audio output to it. &lt;strong&gt;CloseAudio&lt;/strong&gt; closes the connection and returns output to the built in speaker. The &lt;strong&gt;SoundPlayer&lt;/strong&gt; class is used to play back a sound file:-&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:x-small;"&gt;InTheHand.Media. &lt;/span&gt;&lt;span style="color:#2b91af;font-size:x-small;"&gt;SoundPlayer&lt;/span&gt;&lt;span style="font-size:x-small;"&gt; sp = &lt;/span&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;new&lt;/span&gt;&lt;span style="font-size:x-small;"&gt; InTheHand.Media.&lt;/span&gt;&lt;span style="color:#2b91af;font-size:x-small;"&gt;SoundPlayer&lt;/span&gt;&lt;span style="font-size:x-small;"&gt;(txtFilename.Text);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:x-small;"&gt;sp.Play();
&lt;p&gt;A &lt;a target="_blank" href="http://inthehand.com/library/" title="In The Hand Library"&gt;full online library&lt;/a&gt; of class documentation for all this and more is available. For more information about Mobile In The Hand see &lt;a target="_blank" href="http://inthehand.com/content/Mobile.aspx" title="Mobile In The Hand"&gt;&lt;span style="color:#006633;"&gt;the product page&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=101" width="1" height="1"&gt;</description><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Windows+Mobile/default.aspx">Windows Mobile</category><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Compact+Framework/default.aspx">Compact Framework</category><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Mobile4/default.aspx">Mobile4</category></item><item><title>Windows Mobile Provisioning using Mobile In The Hand 4.0</title><link>http://mobileworld.appamundi.com/blogs/peterfoot/archive/2009/12/09/windows-mobile-provisioning-using-mobile-in-the-hand-4-0.aspx</link><pubDate>Wed, 09 Dec 2009 10:53:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:99</guid><dc:creator>Peter Foot</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;In the last post we saw the new My Extensions template which adds access to new Visual Basic features. In this post we will look at another new item introduced with Mobile In The Hand 4.0 - Provisioning XML. Visual Studio has a rich XML Editor built in, Windows Mobile uses provisioning XML documents for everything from adding a browser favourite through to configuring a new GPRS network. The new template allows you to quickly create an empty Provisioning XML document and includes the schema to ensure your document is valid. Let Visual Studio&amp;#39;s Intellisense help you quickly build a provisioning document.&lt;/p&gt;
&lt;p&gt;As with the Visual Basic example you start with an existing device project, in this case it can be either C# or Visual Basic. Select Add New Item and choose Provisioning XML from the list:-&lt;/p&gt;
&lt;p&gt;&lt;img src="http://mobileworld.appamundi.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.00/mywalkthrough2.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://mobileworld.appamundi.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.00/XmlWalkthrough1.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;In this example I have called the file AddFavourite.xml (no prizes for guessing what task we will be performing). The document is created with a skeleton provisioning document. Notice the namespace is provided which links to the schema we installed for you.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://mobileworld.appamundi.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.00/XmlWalkthrough2.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;You can now add the required code between the wap-provisioningdoc tags. As you start to type the IntelliSense will suggest valid elements for you based on the schema:-&lt;/p&gt;
&lt;p&gt;&lt;img src="http://mobileworld.appamundi.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.00/XmlWalkthrough3.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This makes it very easy to quickly build up a complete document:-&lt;/p&gt;
&lt;p&gt;&lt;img src="http://mobileworld.appamundi.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.00/XmlWalkthrough4.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;You can process a configuration document like this using the ConfigurationManager class. By setting the document as an embedded resource you can use the following code to load it and pass it to the ConfigurationManager:-&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Dim&amp;nbsp;xd As New System.Xml.XmlDocument&lt;/p&gt;
&lt;p&gt;xd.Load(System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream(&amp;quot;VisualBasicDeviceProject.AddFavourite.xml&amp;quot;))&lt;/p&gt;
&lt;p&gt;InTheHand.WindowsMobile.Configuration.ConfigurationManager.ProcessConfiguration(xd, False)&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:x-small;"&gt;After running this code you can check your Internet Explorer Mobile favourites:-&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;p&gt;&lt;span style="font-size:x-small;"&gt;&lt;img src="http://mobileworld.appamundi.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.00/XmlWalkthrough5.png" alt="" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;For more information about the library see &lt;a target="_blank" href="http://inthehand.com/content/Mobile.aspx" title="Mobile In The Hand"&gt;&lt;span style="color:#006633;"&gt;the product page&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=99" width="1" height="1"&gt;</description><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Windows+Mobile/default.aspx">Windows Mobile</category><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Compact+Framework/default.aspx">Compact Framework</category><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Mobile4/default.aspx">Mobile4</category></item><item><title>New "My" Functionality in Mobile In The Hand 4.0</title><link>http://mobileworld.appamundi.com/blogs/peterfoot/archive/2009/12/07/new-quot-my-quot-functionality-in-mobile-in-the-hand-4-0.aspx</link><pubDate>Tue, 08 Dec 2009 03:38:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:98</guid><dc:creator>Peter Foot</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;This blog post will walk through the process of adding the additional &amp;quot;My&amp;quot; functionality added in InTheHand.VisualBasic. To start off, open Visual Studio 2008 and create a new Visual Basic device project (or open an existing one). At this point you&amp;#39;ll end up with a solution window which looks a bit like this. Note the inspired project name in this example:-&lt;/p&gt;
&lt;p&gt;&lt;img src="http://mobileworld.appamundi.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.00/mywalkthrough1.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The next step is to right-click the project and select &lt;strong&gt;Add&lt;/strong&gt; &amp;gt; &lt;strong&gt;New Item...&lt;/strong&gt; from the menu:-&lt;/p&gt;
&lt;p&gt;&lt;img src="http://mobileworld.appamundi.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.00/mywalkthrough2.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;This will bring up the Add New Item window from which you should see &lt;strong&gt;MyExtensions&lt;/strong&gt; among the list. Select this (you can change the default name if required) and click &lt;strong&gt;Add&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://mobileworld.appamundi.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.00/mywalkthrough3.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;The new code file is added to the project. You don&amp;#39;t need to edit this and you won&amp;#39;t be interacting with it directly from your code. Your solution window will now look like this:-&lt;/p&gt;
&lt;p&gt;&lt;img src="http://mobileworld.appamundi.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.00/mywalkthrough4.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can now get on with building your application. Any time you start to type My you&amp;#39;ll see a much longer list of options:-&lt;/p&gt;
&lt;p&gt;&lt;img src="http://mobileworld.appamundi.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.00/mywalkthrough5.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;Application, Computer and User are new items added by this library and provide additional functionality, all remaining a direct subset of the desktop experience. For example I added a button and in the Click handler added this simple code snippet:-&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;&lt;span style="font-size:x-small;"&gt;&lt;font size="2"&gt;
&lt;p&gt;MessageBox.Show(&lt;/p&gt;
&lt;/font&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;My&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small;"&gt;.Application.Info.ProductName)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;On running the code the Product Name is retrieved from the assembly information:-&lt;/p&gt;
&lt;/p&gt;
&lt;/p&gt;
&lt;p&gt;&lt;img src="http://mobileworld.appamundi.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.00/mywalkthrough6.png" alt="" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In a future post I&amp;#39;ll run through the various items available through the &amp;quot;My&amp;quot; syntax. For more information about the library see &lt;a target="_blank" href="http://inthehand.com/content/Mobile.aspx" title="Mobile In The Hand"&gt;the product page&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=98" width="1" height="1"&gt;</description><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Windows+Mobile/default.aspx">Windows Mobile</category><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Compact+Framework/default.aspx">Compact Framework</category><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Mobile4/default.aspx">Mobile4</category></item><item><title>Mobile In The Hand 4.0 Released</title><link>http://mobileworld.appamundi.com/blogs/peterfoot/archive/2009/12/07/mobile-in-the-hand-4-0-released.aspx</link><pubDate>Tue, 08 Dec 2009 03:29:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:97</guid><dc:creator>Peter Foot</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Today we put the final touches to Mobile In The Hand 4.0 and have released this latest version of the suite. This is a major reworking of the code and the library is now broken into 10 separate dlls so you only need to deploy the specific functionality you require in a project. We have also added some additional functionality alongside the code libraries themselves to add &amp;quot;My&amp;quot; keyword functionality for Visual Basic users and make it easier to incorporate and edit provisioning XML documents. Over the next few weeks I&amp;#39;ll be posting a number of blog articles to highlight new features and elaborate on some of the less visible features.&lt;/p&gt;
&lt;p&gt;Full details of the library are available on the &lt;a target="_blank" href="http://inthehand.com/content/Mobile.aspx" title="Mobile In The Hand"&gt;product page&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=97" width="1" height="1"&gt;</description><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Windows+Mobile/default.aspx">Windows Mobile</category><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Compact+Framework/default.aspx">Compact Framework</category><category domain="http://mobileworld.appamundi.com/blogs/peterfoot/archive/tags/Mobile4/default.aspx">Mobile4</category></item><item><title>Windows Mobile 6.5 Tab Control</title><link>http://mobileworld.appamundi.com/blogs/peterfoot/archive/2009/09/17/windows-mobile-6-5-tab-control.aspx</link><pubDate>Fri, 18 Sep 2009 01:09:00 GMT</pubDate><guid isPermaLink="false">989b12f5-6f26-47d9-9f0d-67fe982b88db:90</guid><dc:creator>Peter Foot</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;If you&amp;#39;ve seen screenshots or played with the emulators then you&amp;#39;ll know that a few (sadly not all) of the controls have been skinned with a new look. Specifically scrollbars and tab controls have a new look and one that can be customised using themes. These are now drawn using bitmaps so a theme can change the look and feel of the tab controls, message boxes and scrollbars beyond just changing the colours. If you run a .NETCF application on WM6.5 you&amp;#39;ll find that the Tab Control is painted in the &amp;quot;old&amp;quot; way and does not take on the same appearance. I had a dig around and found that this was due to slightly different window styles applied to the native control. I put some code together to change the styles and lo and behold it worked (some styles can only be set when you create a window and cannot be later modified). The attached file is a source listing in C# which will apply this change to a tab control. Since this workaround is not documented it may break or change the behaviour in future updates so realise that this is provided as-is.&lt;/p&gt;
&lt;p&gt;It is a shame that only a handful of controls have been updated, this actually makes some screens look odd because they have a mixture of curvy controls and old fashioned buttons etc - it would have been nicer to see a consistent approach across all the standard controls&amp;nbsp;and ideally one where existing .NETCF code would get the benefit of any improvements without having to hack!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mobileworld.appamundi.com/aggbug.aspx?PostID=90" width="1" height="1"&gt;</description><enclosure url="http://mobileworld.appamundi.com/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.00.00.90/TabControl_2E00_cs" length="1577" type="text/plain" /></item></channel></rss>