I have an application which resides on the phone memory but downloads large data to the SD card on first launch (the app needs to be able to work without an internet connection most of the time)
When using the recommend directory given in Froyo it seems all files on the SD card are deleted when I install a newer version of the .apk. I'd preferably like the files removed on uninstall, but not on upgrade since the files on the SD card aren't going to change between application versions, and forcing the user to re-download a large file that is independent of the application version does not seem reasonable. At the moment it seems I'm forced to use a different directory to the recommended one in order to stop Froyo deleting all the files when the application is upgraded. Am I doing something wrong, or is this how it is supposed to work (I'm guessing it is)? (Or perhaps I misunderstood what getExternalFilesDir is for) -- 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