[android-developers] Deleting cached SD card files on uninstall

2011-02-17 Thread John Gaby
I am downloading and caching some files to the SD card. I am placing the files at: /Android/data/com.gabysoft.myapp When the app is uninstalled, on some phones (e.g. the emulator and Motorola Droid), these files are automatically delete (which is what I want). On other phones (e.g. HTC Hero

Re: [android-developers] Deleting cached SD card files on uninstall

2011-02-17 Thread Mark Murphy
You can't. Deleting files on uninstall via getExternalFilesDir() was added in API Level 8 (a.k.a., Android 2.2). On Thu, Feb 17, 2011 at 11:40 AM, John Gaby jg...@gabysoft.com wrote: I am downloading and caching some files to the SD card.  I am placing the files at: