I found that if the user has a class 6 SDCard or higher, the (read) access of the SDCard is often faster than the access of the phone- memory.
On Nov 19, 10:50 am, Moto <[email protected]> wrote: > I'm currently trying to create a buffer for my application which needs > to be big! I mean at least 1MB but most likely to be 4MB. Now > definitely bad idea to actually allocate this much on a byte array in > memory. So the options are put all the data in a file. So question is > where do I place this temp file? > > Option 1: > Store to sdcard. Might be slow and not such a good idea for > continuous read/writes? > > Option 2: > Store to in the apps cache. I read somewhere this is fast for read/ > writes. But also read before issues cleaning up the cache after use? I > guess I should as if I be able to create a file in cache and discard > it when I don't need it? > > Any tips/look outs from using this methods would be greatly > appreciated! > > -Moto -- 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

