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
sonu19Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Smartphone Programming

From novice to tech pro — start learning today.