Wouldn't I need a lock on the GPS location in order to get the altitude? I 
would assume that would take more time, hence more power then just using 
the barometer.

What about the altitude apps. How do they usually determine the approximate 
altitude. Do they suffer from +/- 500 meter inaccuracy?

I don't have any experience with this, that's why I'm asking here.

Thanks.

On Sunday, December 30, 2012 5:05:12 PM UTC+3, Mark Murphy (a Commons Guy) 
wrote:
>
> On Sun, Dec 30, 2012 at 8:14 AM, sebouh00 <[email protected] <javascript:>> 
> wrote: 
> > I would like to save the altitude in my app and use it to check if the 
> > device is at the same altitude in the future. Using GPS will not be 
> > applicable because of minimal power usage restrictions in my app. 
>
> What tests have you run to determine that the barometer is 
> sufficiently lower power than the GPS radio? I suspect it is, but I 
> have never tried testing the scenario. 
>
> > Would it be possible to do such a thing? 
>
> IMHO, not reliably. If you are trying to get altitude accuracy +/- 500 
> meters or so, perhaps. 
>
> http://en.wikipedia.org/wiki/Atmospheric_pressure 
> http://en.wikipedia.org/wiki/Altimeter 
>
> Moreover, none of this has anything to do with Android, and it smacks 
> of premature optimization, unless you have already implemented the 
> GPS-based solution and proven that the power consumption is over your 
> budget. 
>
> -- 
> Mark Murphy (a Commons Guy) 
> http://commonsware.com | http://github.com/commonsguy 
> http://commonsware.com/blog | http://twitter.com/commonsguy 
>
> In questi siti web puoi chiedere o rispondere a domande relative allo 
> sviluppo di applicazioni Android: http://www.andglobe.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