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.
On May 25, 3:53 am, Kenneth WON <kenneth...@gmail.com> wrote: > Dear all, > > Can I use code to enable the GPS service? > I don't want to prompt the setting page. > > Thanks. > Kenneth > > -- > 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 > athttp://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