Ulf Dittmer wrote:What does "that does not work" mean? What did you expect to happen, and what did happen instead?
Right, to be more clear: i am trying to achieve that by clicking the button i can manipulate the xVelocity and yVelocity variables (thus making the speed by which the ball moves faster) - i do that now by calling speedUpBall() method after creating a instance of the AnimatedView class.
I know this is wrong, because likely there is allready an instance of that class running after the xml was inflated with setContentView..
So i need a way to get to that instance (which is also running in a seperate thread of execution).
But how to do that i do not know. Hope this is clearer now
Right now clicking the button has no effect at all.