Re: [android-developers] Re: Storing data on the SD card in Froyo - files deleted when upgrading

2010-11-01 Thread dipti seni
*www.ksrista.com* *search your life partner* -- 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 an

[android-developers] Re: Storing data on the SD card in Froyo - files deleted when upgrading

2010-10-28 Thread Clayton Sims
So this bug appears to still exist on the 2.2 devices that we work with on the market (Motorola Droid with the latest 2.2 OTA) and even on the Google API 2.2 SDK emulator. I think that it is wildly unreasonable that this bug is not reflected in the main documentation at http://developer.android.co

Re: [android-developers] Re: Storing data on the SD card in Froyo - files deleted when upgrading

2010-07-29 Thread Dianne Hackborn
Sorry yes this is indeed a bug in Froyo. :( I have patch to fix this now in the Froyo tree: https://review.source.android.com/16151 I can't tell you when it will appear on various devices, but hopefully we can get it rolled out fairly quickly. (Note -- do expect to see devices updating to Froyo

[android-developers] Re: Storing data on the SD card in Froyo - files deleted when upgrading

2010-07-25 Thread Joseph Earl
Hi John, thanks for the info, but essentially what I was hoping to have was 1) Files on SD card NOT deleted during upgrade (they are independent of the app version) 2) Files on SD card ARE deleted during final uninstall However they get deleted in both those scenarios which is not useful to me, a

[android-developers] Re: Storing data on the SD card in Froyo - files deleted when upgrading

2010-07-24 Thread john
If you're using API Level 8 or greater, use getExternalFilesDir(null) to save a File. It will be deleted when you upgrade to a newer version. On 7月25日, 上午3時57分, Dianne Hackborn wrote: > Ergh...  that may be a bug. :(  To be clear, when doing the update your > internal data is not being erased, b

[android-developers] Re: Storing data on the SD card in Froyo - files deleted when upgrading

2010-07-24 Thread Joseph Earl
Absolutely. Things like my preferences and my DB are fine. But since 2.2 if my large files are stored in the recommended directory (from what I remember something like .../Android/data/ packagename/) then when I install a new version (currently I've only tried through ADB and side-loading, NOT ma