I am developing an AR application on Android and would like to to, regardless of device roll orientation get horizontal and vertical values, much like a spirit level. An example would be a user holds
I\'ve been trying to figure this out, but with no luck. I want to calculate the angle between the phone\'s orientation and the y-axis, when rotating the phone around the z-axis. I\'m holding the phon
Could someone help to know which sensor uses which part of phone\'s hardware or in what combination of this on Nexus S in android 2.3 ?
I\'m interested to switch between different sensor orientation speeds over time to optimize the program ie.. battery life.The routine may be called very often.I\'m looking for the right practice.