HI,

I have two apps.One app is container app & other apps are child apps.

My container app gets notification for child apps.

Now my doubt is I want to invoke some callback in the child apps from
container app to notify running child app about the notification.

Also,if container app notifies child apps , the state of the child app
should be maintained.

For that I am doing following code snippet from the container app..
                               Intent i = new Intent(Intent.ACTION_MAIN);
                                PackageManager manager = 
context.getPackageManager();
                                i = manager.getLaunchIntentForPackage("child 
app packagename");
                                i.addCategory(Intent.CATEGORY_LAUNCHER);
                             i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK );
                            i.setFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK);
                                i.putExtra("mydata",  "some data");

                                }       */
                                context.startActivity(i);


With above code, I am able to launch the child app activity in the
same state but intent is coming as null..

Regards,
Bunty

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to