Thursday, June 9, 2011

[android-developers] Alternatives to SQLite for static data

Say you're reading an xml or json file from within your app (resources/
raw or assets) and then want to show this data to the user and enable
sorting and simple filtering. Of course you can save the data to an
SQLite table and use sql (where and order by), but it seems to be
overkill when dealing with ~30 kB of static data.

Would it be more appropriate to write a custom adapter or are there
other alternatives that you would recommend?

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment