Answer the question
In order to leave comments, you need to log in
Android, ios and lots and lots of text?
Hi all!
Such a question: in your opinion, what is the best way to store a bunch of text for display in a program?
(Just text to display, something like a reference book)
Now I see several options:
* In the form of a sqlite database
* In the form of an xml text
* In the form of an external database, with requests from the program and acceptance via xml
The first option is not bad, but even me all these sqlite clients scare, slow down the horror and more or less normal ones have different functionality ... oO
The second option seems to me more balanced, and it will be easier to do localization on android later.
I like the option with an external database the most, but then the application will need the Internet to work, I would like to avoid this.
Answer the question
In order to leave comments, you need to log in
And just in the form of text files? What should be done with the text? Just display? Plain text files. A lot is how much?
Actually, you can do it like with pictures. Reference and some metadata in the database, bare text in separate files. xml or txt is your choice.
But if there is a search, chapters, then the database is better than searching through the XML tree.
External bases for small wholesale files are evil :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question