mercredi 25 février 2015

Connecting two android devices running the same app to a databse

I am developing an android app that enables multiple users to access a common database, get details or update the database and display the data on their application. Since this is just a prototype app, I just need to demonstrate it locally and hence need not connect to Amazon/Google's cloud. I have used PhoneGap to make the pages in HTML. What I have understood is that I cannot use SQLite since it saves data on the respective devices. I have limited Java/Servlet knowledge. How do I set up a database on my local machine and access it from two android devices? And how do I fetch the data in a format that my HTML/JavaScript understands?


Aucun commentaire:

Enregistrer un commentaire