Real-time Communication Between App And Webpage
I'm trying to figure out how to have a real time data displayed on a webpage through the use of an android app. For example, users are using android app and are scored (answering q
Solution 1:
One approach might be:
- set up a database on a server on the internet
- program your app to save data to that remote database
- set up a webservice
- program the webservice to read data from the database and serve it as an html page
For extra credit
- implement a REST style API which retrieves and serves data from the database
- create an ajax webpage which uses the API to fetch and display data (so you don't have to refresh the page constantly)
Post a Comment for "Real-time Communication Between App And Webpage"