funny cos I ve always turned on GPS before using maps or other application :-)
thanks On 16 June, 12:46, Mark Murphy <[email protected]> wrote: > On Wed, Jun 16, 2010 at 3:52 AM, kamiseq <[email protected]> wrote: > > I cant really find anything on how to start GPS device if it is > > switched off and how to stop it if it is no longer needed. > > can someone guide me ??? > > When you request location updates (requestLocationUpdates()), GPS will > turn on automatically, if it is enabled and is not already on. > > When you call removeUpdates(), GPS will turn off automatically, if > nothing else has requested GPS be on. > > -- > Mark Murphy > CommonsWare > [email protected]http://commonsware.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

