I’m currently developing an application for android which will require a database. The database will be updatable from the web, and I’m thinking in porting it to iOS in the future, but I would like to use the same database (which will be very large). My idea is to have an online database in XML format, then the android app would connect to it, download the XML file and create the database locally (I was thinking in using db4o), then in the future the iOS application could do the same, download the XML file and create a new local database.
Is there a better approach?
SQLite is available on both platforms, and SQLite files are probably more compact than equivalent XML. That could be an important consideration if, as you say, your database is very large.