What data are used by orientation sensor in the android Samsung Galaxy S 2. Gyroscope's data or accelerometer's data?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I have recently answered a similar question (you can have a look here). The brief answer is this:
"The methods included in the Android APIs to get the orientation does not include readings from the gyroscope sensor. Gyroscope does not provide information about orientation, since it only has information about rotation speed".
回答2:
Samsung Galaxy S2 has a boatload of sensors, a magnetic/orientation one from Asahi Kasei Microdevices and also a gyroscope one from STMicroelectronics. Could you use Market apps AndroSensor and Sensor List to verify and let us know?