Where to find a simple example to move a ball using accelerometer(Andengine) . I make that using onKeyDown events.
int x=20;
iny y=10;
//ballSprite.setPostion(x,y);
Eg: when pressed leftKey
x=x-5;
when Pressed Up key
y=y+5;
The same thing , how to make using accelerometer.. Any samples ?
You may find the following useful;