My application creates a folder on the SD card. I want to delete a folder when the application deletes or when the application is notified of the removal . Anyway to do this? Thanks in advance!
use getExternalFilesDir () to get the directory on the sdcard, which will be deleted when your application is deleted.
http://developer.android.com/guide/topics/data/data-storage.html#filesExternal
Android at the moment does not allow you to execute code at the time of uninstalling your application.
, SharedPreferences, Aplication Data a Cache.
, , - , SD-, .