It probably has 'Write System Settings' permission or maybe even 'Write Secure System Settings' permission.
These are probably very scary sounding permissions to ask for, but a built in widget never had to ask for them. Nathan On Dec 10, 4:59 pm, "Hendrik Greving" <[email protected]> wrote: > Eww. I just read about this. I guess this is a FAQ, but why can the Power > Control Widget do this? > > > > > > > > ----- Original Message ----- > From: TreKing > To: [email protected] > Sent: Friday, December 10, 2010 4:47 PM > Subject: Re: [android-developers] GPS > > On Fri, Dec 10, 2010 at 6:47 PM, Hendrik Greving <[email protected]> > wrote: > > I know how to read the GPS status etc. but how do I turn the chip on/off? > > You can't. You can bring up the settings screen to let the user turn it on > or off, if they want. > > --------------------------------------------------------------------------- > ---------------------- > 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

