I just fire off:

startActivityForResult(new Intent(android.provider.Settings.ACTION_SECURITY_SETTINGS), ACT_GPSON);

To let them change it... seems like an easy compromise.

Mike

On 05/25/2010 06:54 PM, Travis Swanston wrote:

On May 25, 9:19 am, Yahel<[email protected]>  wrote:

Someone correct me if I am wrong but I think that since 2.0 the only
thing you can do is to present the settings page.
The only part where you are wrong is that it has never been possible
to avoid the prompt :D
For quite obvious security reasons.
Actually, it was previously possible - back in 1.5.  I've done it.  I
don't think it was an official, documented API feature, though.  If I
remember correctly, this behavior was fixed in 1.6.

-Travis


--
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

Reply via email to