On Fri, Dec 9, 2011 at 6:32 AM, guibsou <[email protected]> wrote:
> Is there a method to remove directories (directories and files created
> on the sdcard by the application) when i remove this same
> application ?

Use getExternalFilesDir() and getExternalCacheDir() for the
directories on external storage, and they will automatically be
removed on an uninstall, for Android 2.2 and higher.

On earlier versions of Android, there is no way to remove files on
external storage at uninstall time.

-- 
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 2.2
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

Reply via email to