override broadcast onreceive method

On 11월16일, 오전10시56분, Jenus Dong <jenus.ne...@gmail.com> wrote:
> Hi, all
> Such like messager app,  client/server framework, using tcp long connection
> using heart beating packet.
> Cause TCP connection, so when local network is diable or changed,
> connection would be disconnected. But to the client, it may not be known
> right now till
> the next interaction with the SERVER.
> Is there a general solution to reconnect automatically  when network is
> available again?
> For example,  a broadcast receiver would be triggerd when network connection
> changed, and reconnect  when available?
>
> Further more, how to check the network capacility, auto-connect the wanted
> one cause good bandwith?
>
> Regards

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to