Is it possible for me to programmatically access a smartphone\'s sensors (e.g. accelerometer, compass, etc. on an Android or iPhone device) through a browser webpage and Jav
The answer is both "yes" and "no". Each phone manufacturer/OS combination behaves as it sees fit here - for example, the GPS on an iPhone can be accessed, but the compass not: