Atmosphere with Android
Asked Answered
N

2

3

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!

Noeminoesis answered 16/2, 2012 at 14:39 Comment(0)
C
3

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

Carbonado answered 16/2, 2012 at 14:49 Comment(2)
Excellent! Thanks for confirming my assumptions regarding the jQuery plugin :) And regarding the latter question, can I use Atmosphere when making requests via HttpClient for example (the scenario when making an Android application which doesn't use a WebView)? Or I should search for a more specific client library for doing this?Noeminoesis
Atmosphere will works, but you can also take a look at the AHC (AsyncHttpClient) library. That's one is used a lot with Atmosphere.Carbonado
I
1

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.
Ingmar answered 23/4, 2014 at 13:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.