Doug,
         I followed the document all the cases it works. However when
ever i launch home screen from my app, activity stack remembers old
activities(B,A), if i launch again the application using launcher,  i
am not able fix that. Please suggest.





On Jan 16, 10:41 pm, Doug <[email protected]> wrote:
> On Jan 16, 8:06 pm, Subba <[email protected]> wrote:
>
> > 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 toclearthe activitystacktrace when application
> > launches again i want toclearthe B activity from activitystackif
> > it exists.
>
> > Any suggestions please...?
>
> http://developer.android.com/guide/topics/fundamentals.html#clearstack
>
> Memorize this document or revisit it regularly.
>
> Doug

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