For just 500 items, if random access is required I'd go with SQL, assuming the text length for a single item isn't more than a few hundred bytes. You do have the problem of loading up the DB, though.
For a really large list I might spend some time designing the preprocessing logic to build tables in files with dope vectors and the like. For a purely serial list of questions I'd just use some sort of simple markup -- $ followed by a 1-byte identifier, eg. (Also use this for loading a SQL DB, if you don't just copy it from an Asset version.) I'd only use XML if someone was holding a gun to my head. On Aug 2, 3:49 pm, amos <milan.ku...@gmail.com> wrote: > Hello, > I want to create such application that would show a question to user > and possible 3 (or n) answers and user should pick correct answer > (some kind of learning quiz). I'm not sure about the storage for those > data - questions and possible answers. What would be most natural way > for Android. I know that I can either use property files or tables in > sqlite database. There will be about 500 items (1 question, 3 answers, > 1 correct answer ). > Any ideas? > 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