Created
May 23, 2013 06:57
-
-
Save taywils/5633181 to your computer and use it in GitHub Desktop.
MyLocationListener
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private class MyLocationListener implements LocationListener { | |
@Override | |
public void onLocationChanged(Location location) { | |
latitude = String.valueOf(location.getLatitude()); | |
longitude = String.valueOf(location.getLongitude()); | |
} | |
@Override | |
public void onStatusChanged(String s, int i, Bundle bundle) { | |
} | |
@Override | |
public void onProviderEnabled(String s) { | |
} | |
@Override | |
public void onProviderDisabled(String s) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment