Sven Jacobs wrote:
> 2010/3/21 Mark Murphy <[email protected]
> <mailto:[email protected]>>
> 
>     It's more that if the location technology is not on,
>     getLastKnownLocation() won't return a value. GPS is a battery hog, and
>     so it is off unless something in the system has said "yo! I want GPS on,
>     please!".
> 
> 
> I guess the situation is different on a real phone where more location
> providers exists (WLAN, GSM/UTMS) that are enabled most of the time?

Possibly. I have not tried getLastKnownLocation() for the NETWORK
provider on a device, to see if that is "always on".

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Development Wiki: http://wiki.andmob.org

-- 
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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to