How to run other apps in an app

Asked 1 years ago, Updated 1 years ago, 110 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.