My application has two activities A, B.

Initially application launches with A activity(root activity), and
then it launches the B activity and finishes A activity.  Now B
activity on the foreground.
User pressed Home Button on B activity it launches HOME Screen, user
launches the application it launches A activity(intentional) and on
the background B activity still there.
When user presses back (finish() method call) on A activity it goes to
B activity.
Is there any way to clear the activity stack trace when application
launches again i want to clear the B activity from activity stack if
it exists.

Any suggestions please...?

-- 
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

Reply via email to