开发者

Accelerometer, Gravity and Linear Acceleration Query

I was reading through the sensor event documentation on the开发者_开发百科 android developer site. I am unclear as to whether or not the gravity and linear acceleration sensors are separate from the accelerometer. In other words, can the accelerometer measure gravity and linear acceleration?


The accelerometer, gravity and linear acceleration sensors all use the same accelerometer, yes, they just output different values based on what they are conveying to the user.

I'd provide source-code proof but it looks like the android git repository browser is down for now.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜