Click here to Skip to main content
15,894,740 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hey
i want to retrive the position of user( longtitude and latitude )
to use it in My service
how can i get dll make this and how use it??

i am using windows mobile application 6.1 and C# language
Posted
Updated 20-May-10 12:09pm
v3
Comments
William Winner 20-May-10 18:06pm    
Reason for my vote of 1
What SDK are you using? The platform that you are programming for will affect how you communicate with the phone.

1 solution

I assume you have the SDK installed. If so, take a look at the sample @ \Samples\PocketPC\CS\GPS.
 
Share this answer
 
Comments
Ashraf ELHakim 1-Jun-10 11:20am    
when i use this sample the long and latit is always 0 and also the satalite in used
this is my Code::
gps gps=new gps();
gps.open();
GpsPosition position = gps.GetPosition();
position.langtitude;

any idea and thx again
r.ps 1-Jun-10 23:35pm    
Are you sure your phone is able to receive gps signals? It won't work if you are inside a building or there are obstructions.

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