AndroidLocationUsingGPS
Fetch device current location
How to use
- Copy two files, GetUserAddress & GPSTracker into your project.
- Give ACCESS_LOCATION permission in the manifest file.
write follwing statements
GetUserAddress gps = new GetUserAddress(this); gps.executeGPS();
String city = gps.getCity(); String state = gps.getState(); String country = gps.getCountry();
Enjoy!