Android如何使用websocket实现实时通信,求专家给个demo参考一下同时通过服务来实现长连接
http://blog.csdn.net/xia09222826/article/details/50132561
建议你用easemob的服务