At the Onpause of B when you click home, you can do something. On Tue, Jul 13, 2010 at 5:41 PM, kevin0228ca <[email protected]> wrote:
> Hi everyone. > I have a app with 2 activities, A B > A has a button that launches a new intent for B. > When at B I press home, then launch app again, B is resumed with > onResume(). > But if after I press home, I use something like taskiller to clear > tasks, then I launch app again, it still shows B, but onCreate() is > called. > What I want for the second situation is for the app to start A instead > of B. > How can that be done? > Thanks. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

