Hi everyone, Just an update if someone is interested in thsi topic. Creating different tasks, of course, creates different "recent" applications when pressing "home", and i dont think the user would appreciate it. So, reading more about it, understood that they cant disappear from there. Hence, I should've listened better to Dianne, but maybe I had to understand it in the hard way :P So what I did was to create in the same task a group activity that contains my 4 group activities and managed the changing tabs myself. It works fine from 1.5 up to 2.2. Thanks again for your suggestions and guidance everyone, Cheers.
On Nov 12, 3:27 pm, raukodraug <gabriel.martine...@gmail.com> wrote: > Thanks everyone for your replies :) > I solved it by keeping an array of all the activitygroups, and > whenever i finished one of them, i finished others. > I know its not the cleanest solution, but it works fine. > Thanks again, > Cheers > > On Nov 12, 11:34 am, Dianne Hackborn <hack...@android.com> wrote: > > > On Fri, Nov 12, 2010 at 9:15 AM, raukodraug > > <gabriel.martine...@gmail.com>wrote: > > > > Ganapathy and fr4gus, the startactivityforresult does not work when > > > using singleTask, which is what i am doing > > > >http://developer.android.com/reference/android/app/Activity.html#star... > > > , > > > int) > > > Yes, as I said, what you are doing is not really how things are supposed to > > work. Separatetasksare by definition separate entities from each other > > (the intent is for them to represent what the user perceives as > > applications), so it is going to be challenging to have such control over > > them. > > > -- > > Dianne Hackborn > > Android framework engineer > > hack...@android.com > > > Note: please don't send private questions to me, as I don't have time to > > provide private support, and so won't reply to such e-mails. All such > > questions should be posted on public forums, where I and others can see and > > answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en