Sunday, December 30, 2012

Re: [android-developers] Barometer reading changes throughout the day while on same altitude.

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.


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

In questi siti web puoi chiedere o rispondere a domande relative allo
sviluppo di applicazioni Android:

You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment