Retriving the latitude & longitiude of the current position
Hi,
I am trying to retrieve the latitude & longitude of the current location. I tried the example provided in the wiki. Installed the application in E71 but its is unable to retrieve the location. I also tried to retrieve the location data through the GPS application provided in NOKIA Phones but unable to retrieve the same.
I followed the following link:-
[url]http://www.developer.nokia.com/Community/Wiki/Retrieving_location_information_using_Symbian_C%2B%2B[/url]
Please suggest for the same.
Re: Retriving the latitude & longitiude of the current position
What happens exactly? Are you trying indoor or outdoor? If the GPS hardware does not see the satellites, that is not something what you can fix from code. Can the map application get your position? (Even if it can, that may be cheating via using the surrounding mobile base stations).
Re: Retriving the latitude & longitiude of the current position
[QUOTE=wizard_hu_;906956]What happens exactly? Are you trying indoor or outdoor? If the GPS hardware does not see the satellites, that is not something what you can fix from code. Can the map application get your position? (Even if it can, that may be cheating via using the surrounding mobile base stations).[/QUOTE]
I tried it from indoor as well as outdoor. I am trying to retrieve the location through gpsdata -> position. It is just displaying "Wating for GPS".
Re: Retriving the latitude & longitiude of the current position
Note that you should insert SIM card into the device, and then see that you have most updated firmware on it.
The check from device positioning settings, basically see that all necessary positioning methods are enable.
Then see that you have valid internet connectivity settings set up, and that you have internet connectivity.
Then in general indoor & outdoor options should work.
Note that indoor requires intenet connectivity, similarly as A-GPS does. Normal GPS would work without, but could take really long (even with direct access to all directions of the blue sky) to get initial position.