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" <fourhend...@gmail.com> 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: android-developers@googlegroups.com > Sent: Friday, December 10, 2010 4:47 PM > Subject: Re: [android-developers] GPS > > On Fri, Dec 10, 2010 at 6:47 PM, Hendrik Greving <fourhend...@gmail.com> > 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 android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en