Careful with Airplane mode. On some devices that stupidly prevents GPS from 
getting a fix.

On Tuesday, March 6, 2012 8:49:49 PM UTC-5, RedBullet wrote:
>
> I am seeing some evidence that folks are able to use MyTracks to track a 
> long bike ride. So, I might do some testing with it to make sure that is 
> the case (recommendation is to turn off things you don't need, like wifi, 
> bluetooth, and switch to 2G are among the recommendations. Though Airplane 
> mode was also recommended).
>
> If that works out reasonably well, then I guess I can assume I shouldn't 
> worry so much about it?
>
> On Tuesday, March 6, 2012 7:42:34 PM UTC-5, Mark Murphy (a Commons Guy) 
> wrote:
>>
>> On Tue, Mar 6, 2012 at 7:30 PM, RedBullet <> wrote:
>> > OK, got it. So, if I am going to use GPS, are there any good strategies 
>> for
>> > conserving power? Do the update intervals make any difference? Or is the
>> > drain going to be the same because the radio is essentially on?
>>
>> In theory, a longer minTime may be used by Android to power down the
>> GPS in between checks. In practice, I don't know how big of an effect
>> it has. And, for any sort of navigation-type app, I'd be hesitant to
>> make too many assumptions. For example, you're assuming a fairly slow
>> cyclist speed, and there are some faster cyclists than that, but your
>> app might be used by people riding Vespas, motorcycles, etc.
>>
>> -- 
>> Mark Murphy (a Commons Guy)
>> http://commonsware.com | http://github.com/commonsguy
>> http://commonsware.com/blog | http://twitter.com/commonsguy
>>
>> Android Training in NYC: http://marakana.com/training/android/
>>
>>

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