How i should come to know that particular activity has finished its job(i means onCreate method has completed successfully).
If it is your activity, you are the implementer of onCreate(), so you know when onCreate() is done.
If it is another application's activity, you have no way to know.
Or how should i know that startAnimation method has completed successfully ,because i want to start another activity after completion of the animation.
You can register a completion listener with an animation to get called when the animation completes.