Java tutorial
//package com.java2s; import android.content.Context; import android.content.Intent; import android.net.Uri; public class Main { public static void unInstallApkFromPackage(Context context, String apk_pkg) { try { Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:" + apk_pkg)); context.startActivity(intent); } catch (Exception e) { e.printStackTrace(); } } }