user3652673
user3652673

Reputation: 31

How can I start one App from another in android

I am a beginner in android , how can I start one app from inside another in android like when I click on one button and I have to start activity of another app

Upvotes: 0

Views: 73

Answers (1)

Renjith K N
Renjith K N

Reputation: 2633

You can start another app from you application using intent but you need to know its main activity name or at least that applications package name , in the following example it uses another apps package name to start

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

Upvotes: 1

Related Questions