[android-developers] Re: Service which contains socket program which listens continually

2011-07-11 Thread Streets Of Boston
You want to keep the socket open forever? I wouldn't do that (battery drain, how you going to keep a socket open when the phone can get disconnected quite easily, etc) .Just open the socket when the client needs stuff. And if you can use HTTP, use a keep-alive header let the http protocol

Re: [android-developers] Re: Service which contains socket program which listens continually

2011-07-11 Thread Narayana Kandepi
I want to fetch some mobile information from my PC.because of that i want to run some socket continually and whenever I want the info about mobile i request to mobile which socket runs continually on mobile .can u help me out for this? On Mon, Jul 11, 2011 at 5:48 PM, Streets Of Boston