How to start Samsung IAM & EMM app to show the app that user should install

309 views Asked by At

Following code start samsung IAM & EMM app that is installed on the device

Intent LaunchIntent = getPackageManager().getLaunchIntentForPackage("com.samsung.knoxemm.mdm");
startActivity(LaunchIntent);

The problem is that I want to show an app just like open playstore with

startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id=" + appPackageName)));

Thanks in advance for any information and suggestion

0

There are 0 answers