Skip to content

Commit

Permalink
修正声音控制字段命名
Browse files Browse the repository at this point in the history
  • Loading branch information
yxb committed Apr 20, 2021
1 parent 6df7f28 commit 79fceb8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@

* 在你的module的根目录下的**build.gradle**添加依赖
```
<!--这里的版本号,2.3.11可以指定为任意release版本-->
<!--如果希望一直使用最新版本可以替换 2.3.10 master-SNAPSHOT -->
<!--这里的版本号,2.3.13可以指定为任意release版本-->
<!--如果希望一直使用最新版本可以替换 2.3.13 master-SNAPSHOT -->
dependencies {
...
compile 'com.github.YolandaQingniu:qnscalesdk:2.3.11'
compile 'com.github.YolandaQingniu:qnscalesdk:2.3.13'
}
```

### Android Studio 本地依赖
* 下载最新的[jar和so库](https://github.com/YolandaQingniu/qnscalesdk/releases/download/2.3.11/qnsdk-2.3.11-Android.zip),导入下载的`jar和so库`
* 下载最新的[jar和so库](https://github.com/YolandaQingniu/qnscalesdk/releases/download/2.3.13/qnsdk-2.3.13-Android.zip),导入下载的`jar和so库`
* 在app moudle 下建立libs文件夹,将so库和jar包放入libs 文件夹内。
* 在app moudle 的gradle文件中增加配置
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,15 +345,15 @@ public void onNothingSelected(AdapterView<?> parent) {
@Override
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
if (position == 0) {
qnIndicateConfig.setShowVoice(true);
qnIndicateConfig.setSound(true);
} else {
qnIndicateConfig.setShowVoice(false);
qnIndicateConfig.setSound(false);
}
}

@Override
public void onNothingSelected(AdapterView<?> parent) {
qnIndicateConfig.setShowVoice(true);
qnIndicateConfig.setSound(true);
}
});

Expand Down
3 changes: 2 additions & 1 deletion qnscalesdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ dependencies {
})
testCompile 'junit:junit:4.12'
compile "com.android.support:support-v4:$ANDROID_SUPPORT_VERSION"
compile files('libs/qnsdk-2.3.12.jar')
// compile 'com.github.YolandaQingniu:qnscalesdk:2.3.13'
compile files('libs/qnsdk-2.3.13.jar')
}
Binary file not shown.

0 comments on commit 79fceb8

Please sign in to comment.