Skip to content

Commit 7345d95

Browse files
committed
Update README
1 parent 8249dd6 commit 7345d95

File tree

2 files changed

+66
-8
lines changed

2 files changed

+66
-8
lines changed

README.md

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ Anyway, "***Talk is cheap, show me the code***".
2020

2121
### 1. Setup
2222

23-
#### Step 1.
23+
#### Ⅰ Import library moudle (Recommand)
24+
25+
- Step 1.
2426

2527
Add the following Gradle configuration to your Android project. In your root `build.gradle` file:
2628

@@ -34,21 +36,48 @@ allprojects {
3436
}
3537
```
3638

37-
#### Step 2.
39+
- Step 2.
3840

3941
Import the folder `libexcamera` as the module to your project.
4042

4143
***Note:*** To support **Android 10** devices using USB Connection, you need to keep your `targetSdkVersion` below `27` (27 is ok). For more information, you can see [UVCPermissionTest][UVCPermissionTest.link] and [this issue][UVCPermissionTest_Issue.link]
4244

43-
#### Step 3.
45+
- Step 3.
4446

4547
Add the module `libexcamera` as a dependency to your app `build.gradle` file:
4648

4749
```
4850
implementation project(path: ':libexcamera')
4951
```
5052

51-
Now, you are able to use ExCamera SDK in your project. :)
53+
#### Ⅱ Import Gradle
54+
55+
- Step 1.
56+
57+
Add the following Gradle configuration to your Android project. In your root `build.gradle` file:
58+
59+
```
60+
allprojects {
61+
repositories {
62+
maven {
63+
url 'https://gitee.com/wang_ziheng/libcommon/raw/master/repository/'
64+
}
65+
maven {
66+
url "https://convergence.bintray.com/github"
67+
}
68+
}
69+
}
70+
```
71+
72+
- Step 2.
73+
74+
Add the dependency to your app `build.gradle` file:
75+
76+
```
77+
implementation 'com.convergence:excamera:1.0.2'
78+
```
79+
80+
***Now, you are able to use ExCamera SDK in your project. :)***
5281

5382
------------
5483

README_CN.md

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ Android SDK 和 Demo,适用于肯维捷斯(武汉)科技有限公司出品
2020

2121
### 1. 安装
2222

23-
#### 步骤 1.
23+
#### Ⅰ 导入Module(推荐)
24+
25+
- 步骤 1.
2426

2527
添加下列的Gradle配置到你的Android项目。在里你的根目录 `build.gradle`文件中:
2628

@@ -34,21 +36,48 @@ allprojects {
3436
}
3537
```
3638

37-
#### 步骤 2.
39+
- 步骤 2.
3840

3941
将文件夹`libexcamera`作为module导入你的项目。
4042

4143
***注意:*** 为了支持 **Android 10** 设备使用 USB 连接,你需要保持你的 `targetSdkVersion` 低于 `27`(27可以)。 更多相关信息,你可以看 [UVCPermissionTest][UVCPermissionTest.link][这一篇Issue][UVCPermissionTest_Issue.link]
4244

43-
#### 步骤 3.
45+
- 步骤 3.
4446

4547
将 module `libexcamera` 作为依赖添加到你的 app `build.gradle` 文件:
4648

4749
```
4850
implementation project(path: ':libexcamera')
4951
```
5052

51-
现在你就可以在你的项目中使用 ExCamera SDK 了。 :)
53+
#### Ⅱ 导入依赖
54+
55+
- 步骤 1.
56+
57+
添加下列的Gradle配置到你的Android项目。在里你的根目录 `build.gradle`文件中:
58+
59+
```
60+
allprojects {
61+
repositories {
62+
maven {
63+
url 'https://gitee.com/wang_ziheng/libcommon/raw/master/repository/'
64+
}
65+
maven {
66+
url "https://convergence.bintray.com/github"
67+
}
68+
}
69+
}
70+
```
71+
72+
- 步骤 2.
73+
74+
将依赖添加到你的 app `build.gradle` 文件:
75+
76+
```
77+
implementation 'com.convergence:excamera:1.0.2'
78+
```
79+
80+
***现在你就可以在你的项目中使用 ExCamera SDK 了。 :)***
5281

5382
------------
5483

0 commit comments

Comments
 (0)