> I'd like to know if is possible to launch an app inside the other
> developed by me.
>
> I'm trying to run a previous installed app inside a Tabhost for instance.
> If it is, how could I do this?
>

Hi Lucas, you can use the following code for that.

                    Intent i = new Intent();

                    PackageManager manager = getPackageManager();

                    i =
manager.getLaunchIntentForPackage("package_name_to_switch");

                    startActivity(i);

Hopefully, this will help you.


NSR

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