java - How to programmatically enable GPS in Android Cupcake -
I am currently writing an app in Android which works with GPS. At the moment I will know whether GPS is enabled or not. My problem is that I want to enable GPS on app startup if it is disabled. How can I do this program?
You can not start with Android 1.5. Pop up to allow the user to turn it on / off to open as much activity as you can
android Use action taken in .provider.Settings.ACTION_LOCATION_SOURCE_SETTINGS
.
Comments
Post a Comment