Java tutorial
//package com.java2s; import android.content.Context; import android.content.Intent; import android.net.Uri; public class Main { public static String unInstallBySys(Context context, String pckName) { Intent intent = new Intent(); Uri uri = Uri.parse("package:" + pckName); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); intent.setAction(Intent.ACTION_DELETE); intent.setData(uri); context.startActivity(intent); return null; } }