How to handle Home Button in device as well as in emulator.
i found these two methode’s:-
public void onPause
public void onStop
but according to my needs this in not perfect solution for that.
any one guide me.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I found the solution:-
Only executed when HOME button pressed.
more detail see http://developer.android.com/reference/android/app/Activity.html