src/com/handsomezhou/appsearch/util/AppUtil.java
/**
	 * uninstall app via package name
	 * @param context
	 * @param packageName
	 */
uninstall app via package name
@param context
@param packageName
uninstall app via package name @param context @param packageName
public static void uninstallApp(Context context,String packageName){
		Uri packageUri = Uri.parse("package:" + packageName);  
		Intent intent = new Intent();  
		intent.setAction(Intent.ACTION_DELETE);  
		intent.setData(packageUri);  
		context.startActivity(intent);  
	}
public static void uninstallApp ( Context context , String packageName ) { Uri packageUri = Uri . parse ( "package:" + packageName ) ; Intent intent = new Intent ( ) ; intent . setAction ( Intent . ACTION_DELETE ) ; intent . setData ( packageUri ) ; context . startActivity ( intent ) ; }
uninstall app via package name
 @param context
 @param packageName
uninstall app via package name @param context @param packageName