[android-developers] Starting a new Task for every TabHost tab

2011-04-28 Thread Eric
I am experimenting with using a TabHost, with a separate Task running in each Tab. This appears to work, however, when I log out getTaskId() on the various lifecycle methods, I see that the Task ID is -1 for all of the Tasks that I start at the root of each tab. I'm wondering what a Task ID of

Re: [android-developers] Starting a new Task for every TabHost tab

2011-04-28 Thread TreKing
On Thu, Apr 28, 2011 at 8:45 PM, Eric e...@alum.mit.edu wrote: I don't like the idea of using Tabs in the first place, but I'd like some UI for the user to launch from. Menus won't cut it here. Does it make sense to just put a button-bar at the footer of each of my activities to allow the

Re: [android-developers] Starting a new Task for every TabHost tab

2011-04-28 Thread Dianne Hackborn
You can't run tasks in tabs. A task is a collection of related top-level activities. On Thu, Apr 28, 2011 at 9:45 PM, Eric e...@alum.mit.edu wrote: I am experimenting with using a TabHost, with a separate Task running in each Tab. This appears to work, however, when I log out getTaskId() on