Sunday, December 30, 2012

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

On my galaxy nexus, I created a simple app which displays the current altitude. My observation of the result shows that the altitude is increasing and then decreasing again throughout the day.

I am not seeking the actual altitude, so using PRESSURE_STANDARD_ATMOSPHERE is sufficient for my needs.

Regarding the result, my guess is that as the temperature changes outside, the reading is changing as well. So this leads me to the questions:

1. How can I get a constant reading throughout the day? Should I use a reference pressure that changes as well?
2. If so, is there a service on the web which gives me real time sea-level pressure values for locations around the world? The API doc says I can get a reading from a nearby airport, but that would mean I have to change this reference every time I move to a new region?

Thanks.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate