Android 如何卸载APP程序,卸载自己,代码怎么卸载程序?

问题
Android 如何卸载APP程序,卸载自己,代码怎么卸载程序?

解答
android代码:
Uri packageURI = Uri.parse("package:"+getApplicationContext().getPackageName());
Intent intent = new Intent(Intent.ACTION_DELETE,packageURI);
startActivity(intent);