question: public void uninstallApplication ( String packageName ) { if ( packageName != null && ! packageName . contains ( resources . getString ( R . string . application_package_prefix ) ) ) { packageName = resources . getString ( R . string . application_package_prefix ) + packageName ; } Uri packageURI = Uri . parse ( packageName ) ; Intent uninstallIntent = new Intent ( Intent . ACTION_DELETE , packageURI ) ; uninstallIntent . addFlags ( Intent . FLAG_ACTIVITY_NEW_TASK ) ; context . startActivity ( uninstallIntent ) ; }
target:  Removes an application from the device.