On Thu, Jun 14, 2012 at 4:18 PM, elio francesconi
<elio.francesc...@gmail.com> wrote:
> I'm wondering how cleaning up configuration and data stored into the
> filesystem, when a user removes an application.

Everything on internal storage, and everything in
getExternalFilesDir() and getExternalCacheDir(), is removed
automatically when your app is uninstalled.

> The scenario I'ld like to manage is:
> * user install the application
> * the application stores into filesystem (sdcard) data and config files
> * the user uninstall the application
>
> All config/data files remain on the filesystem.
>
> Is there a way to remove them programmatically when the app is unistalled?

Store them in internal storage, in getExternalFilesDir(), or in
getExternalCacheDir().

-- 
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 Android Development_ Version 3.7 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to