问题
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