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

2011-04-28 Thread Eric
On Apr 28, 10:19 pm, Dianne Hackborn hack...@android.com wrote: You can't run tasks in tabs.  A task is a collection of related top-level activities. OK. Is that why I'm getting a -1 for the Task ID when I print it out in the Activity running in the Tab? Because it's a child of the parent

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

2011-04-28 Thread Eric
On Apr 28, 10:19 pm, Dianne Hackborn hack...@android.com wrote: You can't run tasks in tabs.  A task is a collection of related top-level activities. Can you comment on the API 11 ActionBar, and it's Tab support, and whether or not Tasks can be run in, or launched from, this widget? Just

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

2011-04-28 Thread Dianne Hackborn
No, tasks just do not run inside of activities. They are only top-level. That is how it will always be. If you want to do complicated things inside of an activity, consider using fragments. On Thu, Apr 28, 2011 at 10:58 PM, Eric e...@alum.mit.edu wrote: On Apr 28, 10:19 pm, Dianne Hackborn