I'm bulding an application with a Nokia S40 Full Touch: A simple app that has a ball in the center of screen, when you shake it (Up/Down/Left/Right) you move the ball in the direction you want.
I found that javax.microedition.sensor.Data
is what I think I need. But I cannot find more information on what to do next.
What will the result of getDoubleValues()/getIntValues()
present? Can I recognize the direction from these number?