Possible Duplicate:
Android Activity Life Cycle – What are all these methods for?
I have an activity which is main called menuActivity and another activity which called birthDate.
When I run the application the menuActivity become the active one and when I click on a button the second one become the active one which is the birthDate.
My question is:
When the first activity become active another activity goes to background and main activity comes to forground , which method do I have to implement ? OnResume or OnCreate or what?
onResume.. check the following http://developer.android.com/training/basics/activity-lifecycle/index.html
