There is one grey ball. Keep that ball above any platform visible on the screen. But be aware, as some of the platforms will fall down at some point.
Once the grey ball drops off from the screen, the game is over.
Tilt your device to left and right to move the ball.
You dont need to worry about white balls.