once again, maybe it is too much sun over here :)

1. gps is on (powered, whatever) when some app tries to obtain
location info
2. gps is off if there is no app looking for location
3. you then said that
"For example, HTC Sense phones have a home screen feature that looks
like an on/off switch for GPS. That, however, controls whether GPS is
enabled."

so there is some other state that gps can be in and it can be
controlled by application. and yes I dont really understand the
difference between on and enabled.

On 17 Cze, 16:07, Mark Murphy <[email protected]> wrote:
> On Thu, Jun 17, 2010 at 10:04 AM, kamiseq <[email protected]> wrote:
> > ok, so if I have a widget on my desktop on the phone and gps is switch
> > off (dispabled) how should I "enable/disable" it. I couldn't find
> > anything on that.
>
> The user does that (e.g., via the Settings application). Your code
> cannot change whether GPS is enabled or disabled.
>
> --
> 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

Reply via email to