Java tutorial
//package com.java2s; import android.app.Activity; import android.content.Intent; import android.net.Uri; public class Main { public static void uninstallApp(String packageName, Activity activity) { Intent intent = new Intent(); intent.setAction("android.intent.action.DELETE"); intent.addCategory("android.intent.category.DEFAULT"); intent.setData(Uri.parse("package:" + packageName)); activity.startActivityForResult(intent, 0); } }