FLAG_ACTIVITY_NO_HISTORY doesn't do what I want since I want to be
able to switch back.

Before I posted I tried the finish and it wasn't working quite right.
After thinking about it a bit more, I released that my problem was
that the activity I was calling finish on was a Tab Content (not the
tab activity) which was causing some issues. Switching it around to
call finish on the TabActivity seems to make everything work
correctly.

On Aug 15, 11:25 am, Francois Masurel <[email protected]> wrote:
> Did you try the FLAG_ACTIVITY_NO_HISTORY intent flag ?
>
> Here is a nice article about intent flags :
>
> http://blog.akquinet.de/2010/04/15/android-activites-and-tasks-series...
>
> Francois
>
> On 15 août, 16:04, dm1973 <[email protected]> wrote:
>
>
>
> > Right now I have 2 activities (A+B) and what I would like is for only
> > 1 of them ever to be on the stack (If A shows B, I want the back
> > button from B to go to the home screen not A). Is their a good way of
> > doing this with activities Or should I change my app to be a bunch of
> > views?

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