On Sat, Dec 11, 2010 at 3:14 PM, Kostya Vasilyev <[email protected]> wrote:
> Hendrik, > > If you are taking about the built it "Power Controls" widget - it's part of > the system image, more specifically, Settings application, and is signed > with the platform key. > > Note that starting with Android 2.0 (AFAIK), this settings only gives > LocationManager permission to use the GPS chip, if/when an application > requests it. It does not mean that the GPS chip is on all the time. > > -- Kostya > > 11.12.2010 10:46, Hendrik Greving пишет: > > 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 <[email protected]> > *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 <http://sites.google.com/site/rezmobileapps/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 > > > > -- > Kostya Vasilyev -- WiFi Manager + pretty widget -- > http://kmansoft.wordpress.com > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Julie http://www.sirsainfo.in/ <http://t> http://tradinglogically.blogspot.com <http://tradinglogically.blogspot.com> http://vikitionary.blogspot.com http://gandhi-the-man-of-millenium.blogspot.com/ -- 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

