tags:

views:

139

answers:

1

Hello Sir,i want to know how to calculate the accelerometer movement.When i place the mobile horizontally in idle state and similarly when i place the 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

Regards

Rakesh Shankar.P

A: 

A detailed tutorial on basic accelerometer readings (with full source-code) can be found here: http://www.anddev.org/accessing_the_accelerometer-t499.html.

aioobe