[android-developers] Re: Best way to swap activities

2010-08-16 Thread Zsolt Vasvari
I think the built-in activity stack and flags are quite good for simple app logic, but if you have a complicated app, I'd suggest just use startActivity() and finish() on all your activities and manage the app flow yourself. This is what I do and it gives you more control over what's going on and

[android-developers] Re: Best way to swap activities

2010-08-15 Thread Francois Masurel
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-intent-flags/ Francois On 15 août, 16:04, dm1973 david050...@gmail.com wrote: Right now I have 2 activities (A+B) and what I

[android-developers] Re: Best way to swap activities

2010-08-15 Thread dm1973
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