Answer the question
In order to leave comments, you need to log in
What is the best way to store a lot of text data in Android?
It is necessary to make an application in which there should be a lot of text data., About 120 strings. Each "item" must have several lines, for example: id, name, question. The first thing that came to mind was to put strings into the HashMap and pull them out by key there. I also came up with the idea with SQLite, to put data in there, and then pull it out. With the use of ready-made SQLite databases in android, everything is bad, only through crutches (creating a new one and overwriting it, etc.). So the question is how to do better? Maybe there are some other functions that will help me a lot, but I don't know about them?
Answer the question
In order to leave comments, you need to log in
And what problems with SQLite? What are ready? Isn't it available out of the box ?
Well, also, there is xml , json . There are even pythons . Choose - I do not want.
I once tried to program for Android, and it seems like SQLite is a standard there, not a crutch, and everything should be working with it. You just need to read the documentation and accept what is written there.
Again, tips & tricks about using SQLite in Android development are googled at times: habrahabr.ru/post/205620/, where the second point is the creation and initial filling of the database.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question