开发者

Nexus S and gingerbread Sensor events -- Which sensor uses what hardware?

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 ?

Followin开发者_Go百科g are the sensor events:

TYPE_ACCELEROMETER

TYPE_GYROSCOPE

TYPE_GRAVITY

TYPE_LINEAR_ACCELERATION

TYPE_ORIENTATION

TYPE_ROTATION_VECTOR

I assume first 2 corresponds to separate hardware (accelerometer and gyroscope),

but how with the other remaining ones ?

Does TYPE_LINEAR_ACCELERATION uses both Acceleromter and Gyroscope hardware at its best?

I am actually interested in "linear aceleration" so should I need not worry about gyro events, if "linear acceleration" internally uses gyro to give out values ?

Also when tested on device linear accelerations found to give high values for minor shakes , so assuming this removes gravity vector, this was not expected.

Any thoughts ?


The question is answered here by Mathias Agopian.

Google Groups Android discussion

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜