Reputation: 109
I want launch another app programmatically in my application.
for example : my app have a button and want to launch com.android.chrome but I want this button to launch the chrome app details.
Upvotes: 1
Views: 85
Reputation: 24907
You can do it by using action ACTION_APPLICATION_DETAILS_SETTINGS
as follows:
Intent intent = new Intent();
intent.setAction(android.provider.Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
Uri uri = Uri.fromParts("package", "<package-name-of-target-app", null);
intent.setData(uri);
startActivity(intent);
Upvotes: 2