Click here to Skip to main content
15,887,676 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Dear Friend,

Our customer uses windows CE 6.5 and i know that it has GPS capability
I am stuck, I have been searching since morning and could not find the answer on the net.
Is there any solution ?

Thank in advance
Posted
Updated 25-Sep-13 4:56am
v2
Comments
Sergey Alexandrovich Kryukov 25-Sep-13 12:30pm    
What does it mean: "get GPS", "post GPS"?
—SA
Tyler45 25-Sep-13 13:16pm    
Hi,
Sorry for misunderstood.
When app runs in background, I have to get user's location and post latitude and longitude to my server.
Is it possible?
Sergey Alexandrovich Kryukov 25-Sep-13 14:34pm    
It depends on the framework you are using, should be possible.
—SA

1 solution

It depends on the framework, libraries and language you are using. In particular, you can use .NET for Windows CE:
http://msdn.microsoft.com/en-us/library/ms920900.aspx[^].

Then you can use GPSAPI this way:
http://blogs.msdn.com/b/raffael/archive/2008/03/25/gps-programming-tips-for-windows-mobile-part-1.aspx[^].

To post data, you can use the class System.Net.HttpWebRequest:
http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.aspx[^],
http://msdn.microsoft.com/en-us/library/system.net.webrequest.aspx[^] (some code sample is here).

See also this open-source project: http://www.geoframeworks.com/Articles/WritingApps1_1.aspx[^].

Of course, you can use native unmanaged programming. It all depends on what do you want to use. Please see also: http://msdn.microsoft.com/en-us/library/ms850332.aspx[^].

—SA
 
Share this answer
 
Comments
Tyler45 26-Sep-13 4:57am    
Thank you Sergey,
Sergey Alexandrovich Kryukov 26-Sep-13 9:07am    
You are very welcome.
Good luck, call again.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900