i have done developed a sample application with the help of tutorials posted on web. my aim is to access the accelerometer and move a ball as per the phone orientation. i was s
I would set SENSOR_DELAY constant to
SENSOR_DELAY_FASTEST
See if that fixes it. This should help the stutter problem. Also I think your boundary checks are wrong since xmax and ymax values are given display.getWidth/getHeight Maybe you should feed it your BitMap width and height boundaries to the xmax and ymax values.