Android communication and SQL database [closed]

-1

I'm developing a web application that aims to manage inventory, sales projections, etc. of a company. However, sellers travel to make sales and have requested that they also make an application that communicates with DB. To do this, I need to be able to access the web application database through the mobile phone while I handle the possible conflicts and temporarily save sales made in case there is no internet connection until it becomes available. Could someone give me a bibliography or some project that uses these resources?

    
asked by anonymous 21.07.2016 / 22:40

1 answer

0

If you are using a web application, you can also create an HTML-Javascript application using Cordova for the mobile phone.

You can use either LocalStorage or SQLite to temporarily store the data. Check the connection from time to time or button click and synchronize the data.

To synchronize the data you can make a REST WebService in your web application beyond the visual part. With WebService your mobile application will be able to communicate with the web application and access the database.

About the mobile application, this course: Phonegap / Apache Cordova Course

    
21.07.2016 / 23:00