On Fri, Jul 6, 2012 at 3:47 AM, [email protected] <[email protected]> wrote: > I want to enable and disable GPS programatically.
Fortunately, this is not supported, for obvious privacy reasons. > for that we are using Fortunately, your script kiddie hack has been closed off and does not work on newer devices. > Please help me to reslove this issue. Stop trying to enable and disable GPS. Allow the user to do that using the Settings app or a device-supplied home screen app widget. You will notice, for example, that when Google Navigation detects a disabled GPS, they do not enable it, but instead pop a dialog notifying the user, and supplying a button to go to the right Settings page to make the fix. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.7 Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

