Hi...
I m developing location based application for Symbian s60 platform.
I have found the latitude and longitude for a particular location.
But I don't know how to get location name from this latitude and longitude.
Can anybody help me to resolve this problem as soon as possible?
If possible then give me source code or any link for the same.
Thank you.
Hiii there...
anybody can please give me some hint or Soruce code for the above problem?
I am using this code...
private void checkLocation()
{
String string;
try {
// Request the location, setting a one-minute timeout
location = locationProvider.getLocation(100);
} catch (LocationException e) {
return;
} catch (InterruptedException e) {
return;
}
coordinates = location.getQualifiedCoordinates();
if (coordinates != null) {
// Use coordinate information
double lat = coordinates.getLatitude();
double lon = coordinates.getLongitude();
string = "\nLatitude : " + lat + "\nLongitude : " + lon;
// location.getAddressInfo();
} else
{
string = "Calculating position, no fix yet.";
}
text.setText(string);
}
-------------------------------------
" location.getAddressInfo(); "
This code is not working.

Reply With Quote

