Sharing One SQLite DB for Two Android Apps

I would like to maintain a single SQL database for two applications. I've seen other links and it was helpful to Split SQLite database between two Android apps?

But still, when I declare a generic user id and a generic context, I couldn't reach it.

In my first application, SQLite is created with multiple tables. In my second application = - I would like to create tables in the same DB that I created in the first application

And also in several posts I read that this can be achieved with a remote database.

Please can someone please suggest me a good tutorial where I can have an idea of ​​how to proceed?

+3


source to share


1 answer


I would recommend what you asked about - which uses a remote database.

Check out: How to use a free cloud database with the Android app



Look at a hosted database in the cloud. Many of them will let you get started for free. I know that IrisCouch lets you work for free and it's very simple. http://www.iriscouch.com/ The best part about CouchDB is you can do all your work over HTTP - which isn't too hard from an Android device.

0


source







All Articles