Reputation: 31
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
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