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.

Would it be possible to do such a thing? I don't care about the altitude 
value being correct, as long as it is the same (almost same... i can work 
with ranges) at the same location all the time.

Thanks.

On Sunday, December 30, 2012 3:35:41 PM UTC+3, Mark Murphy (a Commons Guy) 
wrote:
>
> On Sun, Dec 30, 2012 at 6:45 AM, Todd Grigsby 
> <[email protected]<javascript:>> 
> wrote: 
> > You can't use a barometer to accurately determine altitude.  Air 
> pressure 
> > changes almost continuously for a variety of meteorological reasons. 
>
> Over a period of few minutes, you can. The XOOM was the first device 
> with a barometer IIRC, and I definitely recall presentations by (now 
> former) MOTODEV staff discussing tests they ran using parking garages, 
> and how the XOOM nailed the height change fairly well. 
>
> Over a period of hours or longer, though -- such as what the OP's 
> trying to do -- you are spot on. Weather will have a substantial 
> impact on barometric pressure. 
>
> -- 
> 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