On Oct 9, 3:25 am, j <[EMAIL PROTECTED]> wrote:
> Thanks for the reply but polling is not an option in my case because
> my server will be sending extremely time sensitive messages. Even if
> it arrives 5 seconds late, it's useless.
I hope Android has a solution to compete against the BlackBerry
Switching Towers does not drop the connection. What will drop is changing
phone's IP or handoff...
regards
2008/10/8 Josh Roesslein <[EMAIL PROTECTED]>
> I think you should be fine with a persistent connection. It might affect
> the battery life a bit, but if you need live data then its really y
I think you should be fine with a persistent connection. It might affect the
battery life a bit, but if you need live data then its really your only
option.
Only issue you might have is the connection getting dropped due to signal
lose or maybe when the phone switches cells (not sure if the network
You could try running a server socket on the phone. The server would
connect to the phone's port when it has something to send down and
then tear it down. If TCP is too heavy handed for this, you could try
using UDP (DatagramSocket)
If T-Mobile has a NAT like router/firewall between the phone and
Thanks for the reply but polling is not an option in my case because
my server will be sending extremely time sensitive messages. Even if
it arrives 5 seconds late, it's useless.
On Oct 8, 12:09 pm, Randolpho <[EMAIL PROTECTED]> wrote:
> "institution some sort of polling mechanism"?
>
> Sometime
"institution some sort of polling mechanism"?
Sometimes I think a monkey randomly beating on a keyboard would have
better grammar than me.
On Oct 8, 2:07 pm, Randolpho <[EMAIL PROTECTED]> wrote:
> I can think of a dozen, and not one of them are related to battery
> life at all.
>
> A persistent
I can think of a dozen, and not one of them are related to battery
life at all.
A persistent connection, generally speaking, isn't a good idea. In
some cases it can be a valid solution, but most of the time, you're
better off institution some sort of polling mechanism.
I suggest a web service th
7 matches
Mail list logo