Is it possible for me to programmatically access touchscreen smartphones (for example, an accelerometer, compass, etc. on an Android or iPhone device) through a browser web page and JavaScript? I know that the W3C Devices standard can provide access to the camera.
source
share