蒋东国
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
README.md
|
@ -21,7 +21,7 @@ allprojects { |
|
|
Step 2. Add the dependency |
|
|
Step 2. Add the dependency |
|
|
```java |
|
|
```java |
|
|
dependencies { |
|
|
dependencies { |
|
|
compile 'com.github.jiangdongguo:AndroidUSBCamera:2.0.3' |
|
|
compile 'com.github.jiangdongguo:AndroidUSBCamera:2.1.0' |
|
|
} |
|
|
} |
|
|
``` |
|
|
``` |
|
|
### 2. APIs Introduction |
|
|
### 2. APIs Introduction |
|
@ -140,7 +140,7 @@ mCameraHelper.getModelValue(UVCCameraHelper.MODE_CONTRAST); |
|
|
```java |
|
|
```java |
|
|
mCameraHelper.updateResolution(widht, height); |
|
|
mCameraHelper.updateResolution(widht, height); |
|
|
``` |
|
|
``` |
|
|
![Connecting gif](https://github.com/jiangdongguo/AndroidUSBCamera/blob/master/gifs/resolution.gif) |
|
|
![Connecting gif](https://github.com/jiangdongguo/AndroidUSBCamera/blob/master/gifs/2.1.0.gif) |
|
|
At last,remember adding permissions: |
|
|
At last,remember adding permissions: |
|
|
``` |
|
|
``` |
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
|
|