preload
Nov 24

GPSIt is easy to think that developing an application for Windows Mobile using the built in GPS unit requires  a lot and complex code. Luckily this is not the case. You can actually have the base for a .NET Compact Framework GPS application up and running in less than 10 minutes if you choose the correct tools.

This post describes what I have found to be the easiest and fastest way to create an application that is interacting with the GPS unit in .NET Compact Framework.

Windows Mobile have created a sample for using the GPS intermediate driver from managed code and this is all you need to get started. The sample is included with the Windows Mobile 6 Professional SDK. How to use this is explained very well at the Windows Mobile Development Center: Using the GPS Intermediate Driver from Managed Code.

If you do not have any special needs you can use this directly by compiling the sample and adding the .dll as a reference in your project. If you need to customize it you can simply just add the sample source code to your project and modify/extend it where needed.

This is all you need to start developing your GPS application.

It is always a good thing to be able to simulate the GPS unit in your emulator so testing and debugging can be done efficiently. Windows Mobile 6 SDK ships with a utility tool called FakeGPS that can easily be installed on your emulator. This is also explained very well at the Windows Mobile Development Center: Using the FakeGPS Utility.

Now you are able to both develop and test/debug your GPS application. This fast and easy implementation will be sufficient for most of your needs. Of course you need to develop your application logic and how to use the data you get from the GPS but that is the fun part.

Follow me on twitter @PerOla

Share & enjoy
You can subscribe to my comments feed to keep track of new comments.

No Comments to “The easiest way to develop and debug Windows Mobile GPS application”

2 Pingbacks to “The easiest way to develop and debug Windows Mobile GPS application”

  1. […] original here: The easiest way to develop and debug Windows Mobile GPS application By admin | category: mobile emulator | tags: download, good-thing, gps, heard-the-news, […]

  2. […] GPS Intermediate Driver from managed code. You can read in a previous post of mine how to do that: The easiest way to develop and debug Windows Mobile GPS application. I recommend using GPS.NET 3.0 if you are planning a more advanced GPS application. With this […]

Leave a Reply

Subscribe to my comments feed

Subscribe to my feeds Follow me on Twitter
DZone MVB