Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LightSun authored Jul 26, 2016
1 parent 8691ca2 commit 470bc03
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,16 @@ a light lib of android-common-utils for use.
4, 消息的处理在单独的子线程。(考虑到比如文件操作什么的)
使用介绍:
步骤1:添加权限 <uses-permission android:name="com.heaven7.android.ipc.service"/>
导入对应的库:
client和server
``` java
compile 'com.heaven7.android.ipc:ipc:2.1.1'
```
``` java
compile 'com.heaven7.android.ipc.server:ipc-server:1.1.1'
```
2:创建MessageClientMessageServer对象。(代表消息客户端和服务端)
3:绑定和解绑消息服务: 调用MessageClient.bind()/MessageClient.unbind() , MessageServer同理.
4: 发送和接收消息。
Expand Down

0 comments on commit 470bc03

Please sign in to comment.