How to run other apps in an app

Asked 2 years ago, Updated 2 years ago, 121 views

I'd like to run another package installed on my app, but I think it's possible if I use the int, but I can't find any way to find it. Could you please give me a link or explanation about it?

android android-intent

2022-09-22 11:31

1 Answers

Intent launchIntent = getPackageManager().getLaunchIntentForPackage("com.package.address");
startActivity(launchIntent);

If you don't know the main activity, you can write the package name.


2022-09-22 11:31

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.