We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8691ca2 commit 470bc03Copy full SHA for 470bc03
1 file changed
README.md
@@ -20,7 +20,16 @@ a light lib of android-common-utils for use.
20
4, 消息的处理在单独的子线程。(考虑到比如文件操作什么的)
21
22
使用介绍:
23
+
24
步骤1:添加权限 <uses-permission android:name="com.heaven7.android.ipc.service"/>
25
+ 导入对应的库:
26
+ client和server
27
+ ``` java
28
+ compile 'com.heaven7.android.ipc:ipc:2.1.1'
29
+ ```
30
31
+ compile 'com.heaven7.android.ipc.server:ipc-server:1.1.1'
32
33
2:创建MessageClient和MessageServer对象。(代表消息客户端和服务端)
34
3:绑定和解绑消息服务: 调用MessageClient.bind()/MessageClient.unbind() , MessageServer同理.
35
4: 发送和接收消息。
0 commit comments