简体   繁体   中英

Call a method from web app to android app

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,

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/

诸如Google Cloud Messaging之类的东西-http: //developer.android.com/google/gcm/index.html可能是您的最佳选择。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM