I have several XML files with schemas, some of which are quite large (only about 16 MB) with a lot of interdependencies. I want to use this data in my android application. Data will often be executed, but very rarely change.
Should I store them as xml files or do I need to convert the data to sqlite db? Which one is faster? Is memory space a problem with 16 MB on an Android device?
If it is better to convert xml files to sqlite db, how can I do this? I saw this thread:
How to convert xml to sqlite database on android platform?
which, in my opinion, offers streaming conversion of an xml file to db, but it only talks about one XML file. With multiple xml files representing objects with dependencies, what additional work should I do, for example, do I need to do some kind of binding first? If so, which tool is best for this task?
I am very new to android dev and sqlite, so any suggestion would be much appreciated.
source
share