It's only a single XML file if you use a single shared preference object. You don't actually have to use the default one. If it does simplify your life, you can use this: http://developer.android.com/intl/de/reference/android/content/Context.html#getSharedPreferences(java.lang.String, int)
...to get a preference file just for storing your data. Though I suspect files aren't really any harder to use, and they will be a bit faster. You can even easily write the files compressed, using java.util.zip.GZIPOutputStream. On Mar 3, 12:11 am, Dianne Hackborn <hack...@android.com> wrote: > There is no limit (except for storage space), but these are currently > written as a single XML file for the entire shared preference object, so you > don't want to go crazy with how much you put there. > > If you have a large amount of data there are numerous other facilities: > databases, flat files, etc. > > > > > > On Tue, Mar 2, 2010 at 11:59 PM, ko5tik <kpriblo...@yahoo.com> wrote: > > Hi All, > > > I'm just wondering, if there is a limit on amount of data I can > > store in SharedPreferences. > > ( and if yes, what limit) > > > regards, > > > -- > > 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<android-developers%2Bunsubs > > cr...@googlegroups.com> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. -- 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