• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4169
  • Last Modified:

Get data from a GPS device within WIndows Mobile

Hey Guys,

I have a WIndows Mobile device it has build in GPS, I would like to get the GPS data through my c# program.

I wrote a little program to open the COM0 port, but I get Exception the port it already open by another application.

How do I go about getting data from the GPS
0
sonu19
Asked:
sonu19
1 Solution
 
Jaime OlivaresSoftware ArchitectCommented:
Maybe another GPS application is currently opened. Notice that in Windows Mobile there is no Close button, just Minimize button, so another GPS application can be still running. Go to the Settings option, look at Memory settings, Running Programs tab.
0
 
sonu19Author Commented:
i did that nothing is ruunning, then i went and installed google maps and it worked fine
0
 
Jaime OlivaresSoftware ArchitectCommented:
are you sure it is COM0? I have never seen such port name.
0
[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

 
sonu19Author Commented:
It is com0, because I manullay put that port into google map and it worked fine
0
 
NickWaltCommented:
I had a similar problem when trying to read from a GPS. I tried a few libraries, GeoFrameworks was one, but the one that works for me is from Franson. It's not too expensive.

I tried opening the serial port manually also when the GeoFrameworks library didn't work for me and had the same error as you. The Franson library is working for me and seems very rugged. I have managed to do all I need to do with it. It's $99 but for me it was worth it. I don't know your circumstances so appologies if this is not possible for you.

http://franson.com/gpstools/index.asp?ref=start
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now