wandenberg / nginx-push-stream-module

A pure stream http push technology for your Nginx setup. Comet made easy and really scalable.
Other
2.22k stars 295 forks source link

Android client #139

Closed seshuvinay closed 10 years ago

seshuvinay commented 10 years ago

How do I get started creating Android client for LongPolling. Do you have any jar/library that could be used?

wandenberg commented 10 years ago

No. You can use any http library which supports HTTP/1.1 for better performance using keep alive connections. Take a look on long polling and curl commands examples.

seshuvinay commented 10 years ago

How about taking help of GCM and handling long polling server side? Do you think it's an efficient way? As continuous polling consumes more bandwidth and unnecessary battery drain, I thought using GCM is more optimized solution.

wandenberg commented 10 years ago

What exactly are you trying to do in your application? The use of GCM or the pushstream module will depend on your use case. The module was designed for real time generic applications.

seshuvinay commented 10 years ago

Web application is already built using pushstream. So, I thought of using GCM in android just to update changes. How ever backend handles it using pushstream. I mean kind of update notifications to the mobile device on any data changes.