Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Access GPS functionality in WinMobile phones

Say you have a Windows Mobile 6.0 phone that also has a GPS receiver. Does the WinMobile SDK support accessing GPS functionality?

If not, what are the options (API) for programming with the GPS i.e write apps that will use the GPS capability. I am mainly interested in Windows Mobile 6.x but please do include generic replies also.

I will surely vote for the most helpful answers.

Thanks in advance.

like image 648
Sesh Avatar asked Dec 04 '22 16:12

Sesh


2 Answers

Two options:

  1. There is the intermediate GPS driver, which has a howto article for .Net on MSDN
  2. You could connect to the serial port (configurable in UI, of course) and parse the NMEA strings yourself

Option (1) is probably advisable

like image 159
Rowland Shaw Avatar answered Jan 05 '23 11:01

Rowland Shaw


Chris Craft had a lot of source code for this sort of thing in his Series 30 Days of .NET Windows Mobile Applications

  • Week 1 - Including GPS Compass
  • Week 3 - Including GPS Speedometer and GPS Altimeter
  • Week 4 - Including GPS Clock

Sadly this blog series appears to have died, but thankfully the code is preserved on Codeplex:

30 Days of Windows Mobile Applications

And a port to C and some discussion around some of the original posts can be found on /dev/mobile

There's also some notes on using the Intermediate GPS driver on Raffaele Limosani's blog


Edit to add:

GPS.NET has recently become open source, and is now available on CodePlex:

GPS.NET 3.0

like image 40
Zhaph - Ben Duguid Avatar answered Jan 05 '23 13:01

Zhaph - Ben Duguid