# HouBin506/SocketPushClient

<https://repo.masters-masters.com/en/repos/HouBin506/SocketPushClient>

[Home](https://repo.masters-masters.com/en) › [HouBin506](https://repo.masters-masters.com/en/owners/HouBin506) › [SocketPushClient](https://repo.masters-masters.com/en/repos/HouBin506/SocketPushClient)

HouBin506/SocketPushClient has 147 stars on GitHub. Its RepoMasters card: Prototype tier. 最近项目中要求做推送，基于内网的。由于工期不是很紧，需求不是很严格，所以放弃了使用三方的推送框架，基于Socket自己写了消息推送功能（服…

| Field | Value |
| --- | --- |
| Owner | [HouBin506](https://repo.masters-masters.com/en/owners/HouBin506) |
| Stars | 147 |
| Forks | 45 |
| Language | [Java](https://repo.masters-masters.com/en/languages/java) |
| License | None |
| Created | 2017 |
| Topics | socket, tcp, aidl, parcelable, android, java |
| Tier | [Prototype (100 to 249 ★)](https://repo.masters-masters.com/en/ranks/rush) |
| View on GitHub | [HouBin506/SocketPushClient](https://github.com/HouBin506/SocketPushClient) |

## Repository

最近项目中要求做推送，基于内网的。由于工期不是很紧，需求不是很严格，所以放弃了使用三方的推送框架，基于Socket自己写了消息推送功能（服务端+android端）。服务器端使用java，客户端使用Android。本人是做Android开发的，所以demo重点介绍客户端的一些代码，包括Socket的TCP长连接及发消息，Service如何不被轻易杀死，通过aidl实现界面实时与Service的通信，可以在界面上控制Socket的连接与断开以及发消息，并采用了Parcelable对象实现aidl传参

The tier for repos with 100 to 249 ★. Published odds per card pulled: 70%. Rarity: Common.

## Nearby in Java

- [charlottejas/NuomiPlayer · ★ 147 · Java · Prototype](https://repo.masters-masters.com/en/repos/charlottejas/NuomiPlayer)
- [Aizistral-Studios/No-Chat-Restrictions · ★ 147 · Java · Prototype](https://repo.masters-masters.com/en/repos/Aizistral-Studios/No-Chat-Restrictions)
- [BieFan1029/FUCK-RUN- · ★ 147 · Java · Prototype](https://repo.masters-masters.com/en/repos/BieFan1029/FUCK-RUN-)
- [apache/maven-archetype · ★ 147 · Java · Prototype](https://repo.masters-masters.com/en/repos/apache/maven-archetype)
- [thesp0nge/owasp-orizon · ★ 147 · Java · Prototype](https://repo.masters-masters.com/en/repos/thesp0nge/owasp-orizon)
- [kabutz/javaspecialists · ★ 147 · Java · Prototype](https://repo.masters-masters.com/en/repos/kabutz/javaspecialists)

---
Data: GitHub · Illustration drawn by RepoMasters from the repo’s ID and its language color.
