Thursday, March 15, 2007

I've been using Windows Mobile Live Search ,  with my Bluetooth GPS on a Windows Mobile 5 Smartphone.   For those who haven't seen it check out Jason's blog and Loke's video at -

http://blogs.msdn.com/jasonlan/archive/2007/02/16/windows-mobile-live-search-released-for-the-uk-and-us.aspx

Its a superb bit of kit.    However I'd like to be able to combine the ability to send your current location to an email contact.   We'll Windows Mobile 5 Smartphone has always had the GPS intermediate driver available which allows for one GPS to be shared between different applications.

However, to be able to switch this on the phone you previously needed to do some some massaging of the registry.    However Windows Mobile 6, ships with a nifty utility to do this from a small application.

To get the tool you need the Windows Mobile 6 SDK at -

http://www.microsoft.com/downloads/details.aspx?FamilyID=06111A3A-A651-4745-88EF-3D48091A390B&displaylang=en

* Note Windows Mobile 6 Standard SDK is what you need for this project.

Once installed the settings tool can be found in DRIVE:\Program Files\Windows Mobile 6 SDK\Tools\GPS

This works just great under Windows Mobile 5, Smartphone and looks like -

 

 

So, in my case,   the real port the GPS is connected on COM8  however all applications can now simultaneously access the device on COM7. Fab!

All good so far.      Next step is to port the application for posting your current location.   I previously posted for Windows Mobile the source for this,  so all we need is a simple port over to Smartphone.    I won't bore you again with the details but the source is here (with Smartphone version)-

http://www.binaryrefinery.com/main/content/binary/gps1.zip

So that's it,  best of all worlds the power of Windows Mobile Live Search and the ability to send your current locations to your friends and colleagues.    

Next step is to make the application update your email signature so watch this space....

Theme design by Jelle Druyts

Pick a theme: