i am using the value returned from the accelerometer. it returns me the "roll" value which is between -180 to 180 that adds up to 360. what i want to do is just simply produce this on the screen by drawing a line (g1.drawLine();) that would rotate in the same angle corresponding to the output from the accelerometer.
any ideas how this could be done?
all the suggestions will be greatly appreciated!!