Atmosphere with Android

泪湿孤枕 提交于 2019-12-23 19:38:43

问题


First, I plan to use Atmosphere on the server side and on the client side an Android app with a WebView in which I'll use jQuery.

But, later on a more "standard" Android application is planned (no WebViews), and I want to know whether Atmosphere can be used too.

Thanks!


回答1:


The jQuery.atmosphere.js works fine on Android. So you should be OK.




回答2:


You can try this approach:

Server side:

Atmosphere Meteor Servlet

  • Meteor Servlet implementation is easy than Atmosphere runtime approach.

Android Client side:

Wasync libraries

  • Wasync libraries are used to extend the functionalities of Atmosphere framework.
  • You can download sample chat application for android app from its samples.


来源:https://stackoverflow.com/questions/9313199/atmosphere-with-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!