That won't work for you as you're referencing the wrong
context
.
Instead of declaring
private Context context
in the anonymous implementation of
Animation.AnimationListener
, you should reference
Context
from the class that calls
animlation.setAnimationListener
.
For this example I'll assume your class is called
MyClass
, and you should then change the call from
this.context.startActivity(new Intent(this.context,MyBig1.class));
to
MyClass.this.context.startActivity(new Intent(MyClass.this.context,MyBig1.class));
/Fredrik