Android sensors class
$10-30 USD
Paid on delivery
I need a java class implements the android motion and position sensors.
this is a very simple project
the requirements:
*easy to integrate class
*handle the motion sensors of android and invoke callback when there is any change, the parameters passed to this callback is the change(in degrees) in each axis(yaw,pitch,roll) - pay attention that the axis in relative to the phone when landscape orientation, and each axis doesn't affect the other axises
*invoke callback when fast movement is detected - according to the accelerometer sensor, when there is a large acc in one axis, invoke the callbak and pass the acc and the related axis. again, notice that the axis is relative to the phone, and consider the gravity when you calculate the acc. also, pay attention to consider the acc and NOT affect the change in the axis if the phone doesn't rotated(e.g. I "push" the phone forward but not rotate him)
deliver only class built with android 4.2.2 and eclipse.
the code must be compiled without any errors.
also I want a simple application(as simple as you can) only to check the functionality - a simple image on the screen that responds to the movements of the phone:
*when I rotate the phone left & right, the image move on the screen left & right(according to my movements)
*when I rotate the phone upward & downward the image move up & down
*when I rotate the phone around Z axis(the axis between me and the phone) the image rotate
*when I push the phone upward or forward, do something, I don't care what, and pay attention that the image don't move
about the axis in the attachements:
X-red, Y-green, Z-blue
Project ID: #6935002