I want to know when im starting an activity using an Intent is the main activity(main) still in memory when im in subactivity?
Share
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.
Read basics related to activity Lifecycle http://developer.android.com/reference/android/app/Activity.html If you want to clear(close) main-activity after starting new one(sub-activity) using intent, then you have to close it(main activity) manually. Android is going to take care of that all things related to activity lifecycle, why you want to close main-activity?