Here is the code to do it:
private static final String ANDROID_SETTINGS_PKG = "com.android.settings";
private static final String ANDROID_SETTINGS_INSTALLED_APP_DTL = ANDROID_SETTINGS_PKG + ".InstalledAppDetails";
private static final String ANDROID_SETTINGS_APP_PKG_NAME = ANDROID_SETTINGS_PKG + ".ApplicationPkgName";
...
Intent intent = new Intent();
intent.setClassName(ANDROID_SETTINGS_PKG, ANDROID_SETTINGS_INSTALLED_APP_DTL);
intent.putExtra(ANDROID_SETTINGS_APP_PKG_NAME, "com.your.package");
startActivity(intent);
...
This will launch the Application manager for the "com.your.package" app (as defined in its AndroidManifest.xml).
No comments:
Post a Comment