Skip to content
Android端websocket即时通讯demo
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
app
gradle/wrapper update README.md Oct 22, 2019
screenshot update screenshot. Oct 18, 2019
.gitignore Initial commit Mar 18, 2019
LICENSE
README.md update README.md Oct 22, 2019
build.gradle update README.md Oct 22, 2019
gradle.properties
gradlew
gradlew.bat
settings.gradle first commit. Mar 18, 2019

README.md

WebSocketClient

Android端websocket即时通讯demo

主要功能

1、与websocket建立长连接
2、与websocket进行即时通讯
3、Service和Activity之间通讯和UI更新
4、弹出消息通知(包括锁屏通知)
5、心跳检测和重连(保证websocket连接稳定性)
6、服务(Service)保活

效果图




ps:觉得有用就把 star 安排上哟!

更多技术干货,欢迎关注我的公众号:ChaoYoung

You can’t perform that action at this time.