After update the changes of the position, call the "invalidate()" method. This method redraw the canvas.
Regards, Felix On Mar 8, 10:11 am, JackeyChan <[email protected]> wrote: > I only want the ball can move with user input: up , down, left, > right. > now , the ball is created by extend the View class and draw it on the > canvas, then set this to be default activity view. > but i don't know how to handle user input for re-draw it. > can anyone give me suggestion ?? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

