I want to find latitude and longitude of my current location in android application.Its not on location changed .i got the latitude and longtitude value while location Changed.but i need the Current location of latitude and longitude.How to do this?
Asked
Active
Viewed 1.2k times
5
-
Have you Googled at all for this? – Anthony Graglia Jan 09 '12 at 14:18
-
http://stackoverflow.com/a/17857993/1318946 – Pratik Butani Jul 25 '13 at 12:29
2 Answers
-2
Location location=manager.getLastKnownLocation(LocationManager.GPS_PROVIDER);//
location.getLatitude();
location.getLongitude();

Pascal MARTIN
- 395,085
- 80
- 655
- 663

Srinivas Kattimani
- 345
- 3
- 3