Orientation type of the sensor
What data are used by orientation sensor in the android 开发者_运维技巧Samsung Galaxy S 2. Gyroscope's data or accelerometer's data?
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".
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?
精彩评论