On Mon, Mar 7, 2011 at 8:55 AM, Jake Colman <col...@ppllc.com> wrote:
> 1) Why would getBestProvider return null?

GPS is not POWER_LOW, AFAIK.

>  Shouldn't it always be able
>   to tell me something?

If you ask for criteria that cannot be met, you will get null.

> 2) Why would a network provider be disabled?

Because the user didn't check the checkbox to enable it.

>  Shouldn't that always be
>   available - assuming that you are not in airplane mode and can make
>   phone calls?

No.

> 3) If the GPS is on, shouldn't my code pick up the GPS if network is
>   disabled?

GPS is not POWER_LOW, AFAIK.

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

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

Reply via email to