Reputation: 1
I am trying to launch a third party application in my Activity(I want to launch that application in my Activity that should be in my application only) I have no idea and have not I have not seen this type of question.
Upvotes: 0
Views: 117
Reputation: 43
This is not possible. You can only launch the other application installed on the phone.
For example :
Intent launchIntent = getPackageManager().getLaunchIntentForPackage("com.package.address");
if (launchIntent != null) {
startActivity(launchIntent);//null pointer check in case package name was not found
}
Upvotes: 1
Reputation: 331
No this is not possible to open the another app into your app. But you can launch the app from your app using the package name of the another app.
Upvotes: 0