views:

68

answers:

0

I've seen persistent TCP connections implemented (http://devtcg.blogspot.com/2009/01/push-services-implementing-persistent.html), but my needs are a little different.

I need an Android service that always runs in the background and keeps a long polling connection to an HTTP server and communicates with it using JSON over POST method.

Does anyone have anything similar to this?