Mark, Do you know if after the resource has been moved to the SD card, whether it can be deleted from the package to free up main memory for the user?
I am enjoying your book, by the way. --Mike On Apr 11, 6:40 am, Mark Murphy <mmur...@commonsware.com> wrote: > fg1921 wrote: > > 1. Included the db as an asset > > 2. Copied it to the SDCard at startup > > 3. The above fails with a "uncompress_data_max" when it's being pulled > > out of the Assets directory > > How are you trying to do this? > > I just ran a test with a 6MB MP4 file and it worked just fine. I renamed > it to test.db to see if it was perhaps not compressing the MP4 file > based on file extension, and that too worked just fine. It works on both > the emulator and a G1. It takes a few seconds on the G1, writing to the > stockSDcard that shipped with it (not sure what class ofSDcard that > is, so someSDcards may be faster or slower). > > The code I used is here: > > http://pastie.org/443676 > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Warescription: Three Android Books, Plus Updates, $35/Year --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---