I would go with storing your questions in raw XML file (asset) and parsing it on the fly. This way, you can easily change it and (perhaps) later extend your aplication to communicate with web service that has questions. IMHO using database for this is a bit wasty.
On Aug 3, 8:56 am, Sarwar Erfan <erfanonl...@gmail.com> wrote: > Hi, > Put your all questions in SQLiteDatabase. > Then, load the necessary ones when required in the application. > Storing and loading from file will not be very useful. Database will > help you organize the questions better and also to retrieve the > required ones smartly. > > Regards > Sarwar Erfan > > On Aug 3, 2:49 am, 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