While this will let you *go to* another app, it won't let you embed it inside of a tabhost, for example, which (I think) is what the OP meant?
kris On Tue, May 15, 2012 at 7:43 AM, Narendra Singh Rathore <[email protected]> wrote: > >> 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 -- 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

