Thanks, YangJian.
What we want is to put all activities started by L stay in the same
task as L. So we have to set all activities`s taskAffinity the same
one.
For that reason, Single Task is not for what we want, because it is
goint to make A as root of that task which is L in fact.
Thanks,
If you want everything running in the same task, then don't use
FLAG_ACTIVITY_NEW_TASK.
On Sun, Jun 13, 2010 at 5:59 AM, James Wang jameswangc...@gmail.com wrote:
Thanks, YangJian.
What we want is to put all activities started by L stay in the same
task as L. So we have to set all
Dianne, You are right.
We did want to make an activity like launcher.
In fact, our product is more complicated than what I said above.
Below is the real plan:
1)We made an activity as the launcher L;
2)A tells L to start B;
3)B does something and tells L starts A again.
L,A,B have the same
@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of James Wang
Sent: Friday, June 11, 2010 12:09 AM
To: Android Developers
Subject: [android-developers] Re: TaskAffinity causes new instance being
created when startActivity
Dianne, You are right.
We did want to make
If they are modelling separate applications, then they each need to have a
different task affinity. Having the same affinity means that when you start
the activity, it will have an affinity for an existing task with the same
name.
On Thu, Jun 10, 2010 at 8:09 AM, James Wang
Can anybody help me?
--
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
6 matches
Mail list logo