I am making a web app that needs to communicate with the Android phone, what is the best way to get data from the web app to the phone? I have heard of C2DM but I don't know any good guides for it. I have tried polling, but that is way too heavy on the battery. Whats the best way to accomplish this?
Asked
Active
Viewed 247 times
3
-
What kind of data? HTML? JSON? etc – Stefan Bossbaly Jan 10 '12 at 21:53
-
@Sbossb Just simple, maximum 200-300 characters of data. Most likely will be base64 encoded aswell. – Qasim Jan 10 '12 at 22:11
2 Answers
0
As well as C2DM you could also look at services such as Urban Airship or if the communication with the device is interactive then you could look at a realtime web technology.

leggetter
- 15,248
- 1
- 55
- 61