Thanks Mark, TreKing and Filip. The problems gone away and will not be
coming back. LocationManager.NETWORK_PROVIDER works like a charm.
Thanks

On Thu, Jul 7, 2011 at 7:32 PM, TreKing <treking...@gmail.com> wrote:

> On Thu, Jul 7, 2011 at 8:47 AM, Mark Murphy <mmur...@commonsware.com>wrote:
>
>> Don't use Criteria. Use LocationManager.NETWORK_PROVIDER.
>>
>
> To add to this, this is because by using Criteria and, more importantly,
> specifying ACCURACY_FINE and POWER_HIGH, you are pretty much saying "gimme
> GPS if available".
>
>
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
>
>  --
> 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
>



-- 
Raghav Sood
http://www.raghavsood.com/
http://www.androidappcheck.com/
http://www.telstop.tel/

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