Yes to avoid memory issues later with preferences, we are storing temp files(in MB) on sdcard.... which then crops up problems of encryption/ file permissions/ etc. Aah... we can not expect desktop facilities from a device :)
On Apr 14, 11:25 am, Nikolay Elenkov <nikolay.elen...@gmail.com> wrote: > On Thu, Apr 14, 2011 at 3:07 PM, Kacee <komal...@gmail.com> wrote: > > I was wondering if there is any size limit for storing on shared > > preferences. Could not find any such info on developer.android.com. Is > > anyone aware of such space limit on internal storage ? > > Interesting question. Since each app is a different user, you'd have to use > quotas to do this. I haven't checked, but I doubt Android's kernel has support > for this. So unless the frameworks is imposing some restrictions (does it?), > your xml files can grow until there is internal storage left. Depending on how > parsing is done, though, you might run into memory problems with big > preferences files. You'd better use separate files and/or a database if you > need to store a lot of data. -- 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