I am trying to launch an activity from another activity ..
Within the com.android.SingleLauncher..

I have activity launch code as ..

                Intent intent = new Intent(Intent.ACTION_MAIN);
                intent.addCategory(Intent.CATEGORY_LAUNCHER);
                intent.setComponent(new ComponentName("com.android.TargetSL",
                        "com.android.TargetSL.TargetSL"));
               intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK |
Intent.FLAG_ACTIVITY_MULTIPLE_TASK);

I have set the android:multiprocess="true" in the AndroidManifest.xml
of TargetSL
I don't seem to see the multiple instances of TargetSL, which i am
expecting ..

All i see is 2 process, where i was hoping to see an instance of
TargetSL, for each launch that was invoked by the singleLauncher !!

# ps
ps
USER     PID   PPID  VSIZE RSS   WCHAN    PC         NAME
.........a bunch of stuff .......
app_30   157   23    91484 12140 ffffffff afe0c824 S
com.android.SingleLauncher
app_31   236   23    90452 11580 ffffffff afe0c824 S
com.android.TargetSL

Am I missing something here ?

-Dan

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to