开发者

How To use Android Accelerometer Detection

i want to know how to calculate the accelerometer movement.When i place the mobile horizontally in idle state and similarly when i place t开发者_如何学JAVAhe mobile in hands,So there accelerometer value change when it is place horizontally or while it is in hand vertically.How To Identify them,Any Sample Codes will be useful


Why don't you use this example:

Android: I want to shake it

You can then check time difference between every step and other - this will help you simulate a step.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜