Skip to content Skip to sidebar Skip to footer

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:

  1. set up a database on a server on the internet
  2. program your app to save data to that remote database
  3. set up a webservice
  4. program the webservice to read data from the database and serve it as an html page

For extra credit

  1. implement a REST style API which retrieves and serves data from the database
  2. 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"