Skip to content

Commit

Permalink
Update README & Android doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
lhw5123 committed May 11, 2017
1 parent 92852ff commit 6b8b86f
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 24 deletions.
16 changes: 8 additions & 8 deletions Android/chatinput/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

- Gradle
```
compile 'cn.jiguang.imui:chatinput:0.1.0'
compile 'cn.jiguang.imui:chatinput:0.1.1'
```

- Maven
Expand All @@ -19,7 +19,7 @@ compile 'cn.jiguang.imui:chatinput:0.1.0'
<dependency>
<groupId>cn.jiguang.imui</groupId>
<artifactId>chatinput</artifactId>
<version>0.1.0</version>
<version>0.1.1</version>
<type>pom</type>
</dependency>
```
Expand All @@ -41,7 +41,7 @@ allprojects {
```
dependencies {
compile 'com.github.jpush:imui:0.1.0'
compile 'com.github.jpush:imui:0.1.1'
}
```

Expand Down Expand Up @@ -161,20 +161,20 @@ mChatInput.setOnCameraCallbackListener(new OnCameraCallbackListener() {
}
});
}
@Override
public void onStartVideoRecord() {
}
@Override
public void onFinishVideoRecord(String videoPath) {
// 请注意,点击发送视频的事件会回调给 onSendFiles,这个是在录制完视频后触发的
}
@Override
public void onCancelVideoRecord() {
}
});
```
Expand Down
18 changes: 9 additions & 9 deletions Android/chatinput/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Provides several ways to add dependency, you can choose one of them:

- Via Gradle
```
compile 'cn.jiguang.imui:chatinput:0.1.0'
compile 'cn.jiguang.imui:chatinput:0.1.1'
```

- Via Maven
Expand All @@ -20,7 +20,7 @@ compile 'cn.jiguang.imui:chatinput:0.1.0'
<dependency>
<groupId>cn.jiguang.imui</groupId>
<artifactId>chatinput</artifactId>
<version>0.1.0</version>
<version>0.1.1</version>
<type>pom</type>
</dependency>
```
Expand All @@ -42,7 +42,7 @@ allprojects {
```
dependencies {
compile 'com.github.jpush:imui:0.1.0'
compile 'com.github.jpush:imui:0.1.1'
}
```

Expand Down Expand Up @@ -102,7 +102,7 @@ chatInput.setMenuClickListener(new OnMenuClickListener() {
@Override
public void onSendFiles(List<String> list) {
// chose photo or video files or finished recording video,
// chose photo or video files or finished recording video,
// then click send button fires this event.
}
Expand Down Expand Up @@ -174,22 +174,22 @@ mChatInput.setOnCameraCallbackListener(new OnCameraCallbackListener() {
}
});
}
@Override
public void onStartVideoRecord() {
}
@Override
public void onFinishVideoRecord(String videoPath) {
// Fires when finished recording video.
// Pay attention here, when you finished recording video and click send
// button in screen, will fire onSendFiles() method.
}
@Override
public void onCancelVideoRecord() {
}
});
```
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![tag](https://img.shields.io/badge/tag-0.1.0-blue.svg)](https://github.com/jpush/imui/releases)
[![tag](https://img.shields.io/badge/tag-0.1.1-blue.svg)](https://github.com/jpush/imui/releases)
[![support](https://img.shields.io/badge/support-iOS%20%26%20Android-brightgreen.svg)]()
[![QQ Group](https://img.shields.io/badge/QQ%20Group-604798367-red.svg)]()

Expand Down
3 changes: 1 addition & 2 deletions README_CH.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![tag](https://img.shields.io/badge/tag-0.1.0-blue.svg)](https://github.com/jpush/imui/releases)
[![tag](https://img.shields.io/badge/tag-0.1.1-blue.svg)](https://github.com/jpush/imui/releases)
[![support](https://img.shields.io/badge/support-iOS%20%26%20Android-brightgreen.svg)]()
[![QQ Group](https://img.shields.io/badge/QQ%20Group-604798367-red.svg)]()

Expand Down Expand Up @@ -55,4 +55,3 @@ Aurora IMUI 是个通用的即时通讯(IM)UI 库,不特定于任何 IM SD

## License
MIT © [JiGuang](/LICENSE)

4 changes: 2 additions & 2 deletions docs/Android/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- Gradle

```groovy
compile 'cn.jiguang.imui:imui:0.1.0'
compile 'cn.jiguang.imui:imui:0.1.1'
```

- Maven
Expand All @@ -34,7 +34,7 @@ allprojects {
// module/build.gradle
dependencies {
compile 'com.github.jpush:imui:0.1.0'
compile 'com.github.jpush:imui:0.1.1'
}
```

Expand Down
4 changes: 2 additions & 2 deletions docs/Android/usageEn.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ We have support several ways to add dependency. You can choose one of them.

- Gradle:
```groovy
compile 'cn.jiguang.imui:imui:0.1.0'
compile 'cn.jiguang.imui:imui:0.1.1'
```

- Maven:
Expand All @@ -35,7 +35,7 @@ allprojects {
// Add in module's build.gradle
dependencies {
compile 'com.github.jpush:imui:0.1.0'
compile 'com.github.jpush:imui:0.1.1'
}
```

Expand Down

0 comments on commit 6b8b86f

Please sign in to comment.