Categories
Windows Mobile

Using the UnInstall Configuration Service Provider

Among the Configuration providers in Windows Mobile is one which allows you to programmatically uninstall package from the device. The UnInstall provider is documented here:- http://msdn2.microsoft.com/en-us/library/aa455977.aspx To see if your package can be uninstalled you send the following XML – e.g. using DMProcessConfig.XML or ProcessConfiguration in managed code. <wap-provisioningdoc>   <characteristic type=”UnInstall”>      <characteristic-query type=”YourAppName”/>   </characteristic></wap-provisioningdoc> Replacing […]

Categories
Desktop Code Windows Mobile

Desktop ActiveSync Registry Settings

In March I showed how to get the version of a connected device from the desktop. This post documents the rest of the registry settings used to store device information. There are two registry locations, the first at HKEY_CURRENT_USERSoftwareMicrosoftWindows CE Services contains information about the currently connected device. The second, HKEY_CURRENT_USERSoftwareMicrosoftWindows CE ServicesPartners contains information for […]

Categories
Software

Skydriving

Windows Live Folders is now Windows Live Skydrive and the beta has been extended to locales outside the US. The service provides a free 500mb of online storage for you to use however you want. Beyond the new look and feel and new name there is one great addition – a drag and drop upload […]

Categories
Oddities

A backpack fit for an anchorman?

Categories
NETCF

Multiline Button

On the newsgroup somebody asked how to have multiple lines of text on a .NETCF Button control. The native control supports this but the appropriate style is not set by default. The following code snippet shows how to enable this:- private const int BS_MULTILINE = 0x00002000;private const int GWL_STYLE = -16;[System.Runtime.InteropServices.DllImport(“coredll”)]private static extern int GetWindowLong(IntPtr […]

Categories
Windows Mobile

More POOM Anomalies

Every version of POOM (Pocket Outlook Object Model) brings great improvements, however there are always a few things which just have you screaming “Why!”. One of those examples is the implementation of IItem::Edit. This method is used to open an item in edit mode, and is implemented on Windows Mobile 5.0 and above, with the […]

Categories
Facebook NETCF

More Facebook Progress

I’m now a member of the CodePlex workspace for the Facebook Developer Toolkit. I’ve been working on porting across my modifications into the codebase. The .NETCF v2.0 version uses a project called Facebook.Compact but refers to the existing source files from the desktop project. Then some conditional compilation is used to hide a few unsupported features from […]

Categories
Facebook NETCF

Facebook API and the Compact Framework

The Facebook API allows third-party web and desktop applications to interact with Facebook features. There is an excellent shared-source library for .NET to wrap the Facebook calls but currently it only supports the full framework. I did some work converting this source to compile and run on .NETCF v2.0. There are some example screens here […]

Categories
Oddities

Summer Rain

As I walked to the local Tesco’s to pick up something to eat for lunch today it was, unsurprisingly, raining steadily. Keeping my head down and a stiff upper lip etc I kept going. As I looked down at the pavement to avoid the puddles I spotted a metal drain cover with the words “Wash Out” […]

Categories
Windows Mobile

Context Menu Extensions Windows Mobile 2003 versus Windows Mobile 5.0/6

One of the features of Mobile In The Hand is the ability to add context menu extension handlers for the PIM applications from managed code. One of the problems with implementing this feature is that the behaviour of these applications varies subtly between versions and these differences are rarely documented from the developers perspective. One […]