[whatwg] Pressure API?
blog at tessarakt.de
Wed Oct 20 06:35:54 PDT 2010
Am 20.10.2010 15:23, schrieb Henri Sivonen:
>>> now that device orientation, geolocation, camera etc. have been
>>> Is there any intent to provide an API for pressure sensors?
>>> This might well be the next hip feature in smartphones ...
>> Note that differential pressure measurements from nearby locations can
>> be better at determining
>> altitude differences than GPS, plus, they work indoors.
> Are there other use cases apart from guessing the altitude?
A browser-based dive computer ;-)
And maybe something determining the weather.
> It figuring out the device altitude is the use case, shouldn't the API expose the altitude and allow the altitude to be computed by the browser or by the operating system from a pressure sensor, from GPS or both?
Agreed, maybe providing some meta-information. But you probably do want
the raw data in any case.
More information about the whatwg