I've triedWRITE_SECURE_SETTINGS. I've found out that only system apps can get 
this permission.Actually I've found out how to toggle GPS etc., but it is an 
expoit which I guess will be fixed with Gingerbread. Unfortunately.

  ----- Original Message ----- 
  From: TreKing 
  To: [email protected] 
  Sent: Friday, December 10, 2010 10:09 PM
  Subject: Re: [android-developers] Re: GPS


  On Fri, Dec 10, 2010 at 7:41 PM, Hendrik Greving <[email protected]> 
wrote:

    I've actually just tried that. But even if I put the permission in the 
manifest, it still makes a security exception that this permission was missing

  What did you try?


  On Fri, Dec 10, 2010 at 11:06 PM, Hendrik Greving <[email protected]> 
wrote:

    The "power control plus" application can do it. So what's the trick?

  Being built as part of the firmware probably helps.


  
-------------------------------------------------------------------------------------------------
  TreKing - Chicago transit tracking app for Android-powered devices


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

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