Browser & # 8596; Client Hardware API?

Are there any initiatives to implement / agree on a standard API for communication between web browsers and client hardware.

Example: iPhone has GPS / Camera / Accelerometer. It would be great if my web app could talk to them (instead of me writing thick ObjectiveC apps).

0


source to share


3 answers


The closest thing I've seen is an Android phone API that allows your programs to access their hardware (relatively) seamlessly. Google is pushing for it to become the new standard, but it hardly looks like a web application (which by most definitions works entirely in your browser?).



+1


source


The upcoming version of FireFox has an API to read your lat / long device from a GPS device.



+1


source


To add to my own question; Yahoo provides a geolocation service called FireEagle that can act as an intermediary and provide similar functionality.

Essentially, the phone communicates with a central Yahoo server, updating its location. Your web application can then determine your approximate location from this central server.

0


source







All Articles