Created
November 13, 2009 10:21
-
-
Save shaobin0604/233733 to your computer and use it in GitHub Desktop.
Android GPS Setting
This file contains hidden or 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
// check if gps is enabled | |
locationManager.isProviderEnabled("gps"); | |
// jump to gps setting | |
startActivity(new Intent("android.settings.LOCATION_SOURCE_SETTINGS")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment