android中实现应用程序的卸载功能

Log.i(TAG, infos.get(position)+"卸载");
				String uriStr = "package:"+packageName;
				Uri uri = Uri.parse(uriStr);
				Intent intent = new Intent();
				intent.setAction(Intent.ACTION_DELETE);
				intent.setData(uri);
				startActivityForResult(intent, 0);


你可能感兴趣的:(android中实现应用程序的卸载功能)