Delete an application (*.apk) after installation
问题 I've created an android application, and exported it as *.apk . Is it possible to make the apk file to be deleted automatically upon successful installation? 回答1: If you are installing some other APK downloading through you application and want to remove if after successful install, follow me :-) Step 1: declare following permissions in your AndroidManifest.xml <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE