I have more than 5 MB string for my android application. I want to store it in my application and use it. I have two options:
- I can use
string-array. - I can use sqlite.
Currently, I am using string-array. Someone suggested me to use sqlite. So, I studied about sqlite, and can save and fetch data from sqlite. But, I have some issues with it. Since data is static, I need to put it in the sqlite. For this, I must have data in both string and when saved, in sqlite form. Using sqlite means my same string data is present at two locations. How can I save from this. Please help me to solve this.
So, to store static data, is it better idea to use sqlite database? Please help me to solve this.
Aucun commentaire:
Enregistrer un commentaire