Closed seshuvinay closed 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.
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.
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.
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.
How do I get started creating Android client for LongPolling. Do you have any jar/library that could be used?