On Fri, Oct 1, 2010 at 4:49 PM, dashman <[email protected]> wrote: > i'm saving files in > > sdcard/Android/data/<packagename>/files > > > the problem is that everytime i download the app to > the phone - the folder and it's contents get deleted. > > anyway to prevent that.
Wait for Gingerbread, assuming you are using getExternalFilesDir() on Context. There's a bug where these files get deleted on an upgrade/replacement in addition to getting deleted on an uninstall. -- 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

