On Wed, Jul 14, 2010 at 11:14 AM, Tina <[email protected]> wrote: > Hi, all! > My application creates directory on SD card for syncronisation > purpose. > Tell me please, is there any way to delete this directory on > uninstall?
In Android 2.2+, if you use getExternalFilesDir() or getExternalCacheDir(), those directories will be removed when your app is uninstalled. > May be I could add some string to Manifest or catch "uninstall" event > or something else? There is no "uninstall" event that your app can catch, sorry. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9 Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

