Re: [android-developers] Re: Are SharedPreferences limited in size?

2010-03-03 Thread Michael Davey
I don't suppose you can give me a URL to your JSON serializer?  That would help 
me out a lot too...

Thanks


On 3 Mar 2010, at 12:45, ko5tik wrote:

 
 
 On Mar 3, 9: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.
 
 I plan to store JSON serialized data (highscores) - I opted out
 database, as there is no
 convenient ORM mapping and wrote small opensource JSON serializer
 instead.
 
 So in my case preferences are easier to use while files will offer
 some performance.
 
 thanks.
 
 -- 
 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

-- 
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


Re: [android-developers] Re: Are SharedPreferences limited in size?

2010-03-03 Thread Michael Davey
Apart from me not knowing it existed? Probably not ;o)


On 3 Mar 2010, at 14:22, Bob Kerns wrote:

 Is there something wrong with the one built into the system???
 
 http://developer.android.com/intl/de/reference/org/json/package-summary.html
 
 
 On Mar 3, 4:53 am, Michael Davey frak@gmail.com wrote:
 I don't suppose you can give me a URL to your JSON serializer?  That would 
 help me out a lot too...
 
 Thanks
 
 On 3 Mar 2010, at 12:45, ko5tik wrote:
 
 
 
 
 
 On Mar 3, 9: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.
 
 I plan to store JSON serialized data (highscores) - I opted out
 database, as there is no
 convenient ORM mapping and wrote small opensource JSON serializer
 instead.
 
 So in my case preferences are easier to use while files will offer
 some performance.
 
 thanks.
 
 --
 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
 
 -- 
 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

-- 
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