0

Is it possible to call a method / API / web service from a web application to an android application, something like android app become web service provider and the web app become web service client,

I would like to refresh data on an android app by clicking on a button on a web application,

user2708445
  • 93
  • 1
  • 1
  • 6
  • Maybe RMI ([http://stackoverflow.com/questions/5321906/how-to-find-the-jar-of-java-rmi-package]) is what you are searching for. [1]: http://stackoverflow.com/questions/5321906/how-to-find-the-jar-of-java-rmi-package – cube Oct 25 '13 at 17:29

2 Answers2

0

You can use I-Jetty in your app and make your app as the web server.. use the source code and run the server from a android service. More detail can be found at following link:

https://code.google.com/p/i-jetty/

Praful Bhatnagar
  • 7,425
  • 2
  • 36
  • 44
0

Something like Google Cloud Messaging - http://developer.android.com/google/gcm/index.html would probably be your best choice.

GreyBeardedGeek
  • 29,460
  • 2
  • 47
  • 67