Skip to content

Commit d16c11e

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 9c8714e + 5520160 commit d16c11e

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

SDK使用说明.md

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
[ ![Download](https://api.bintray.com/packages/androidcoco/maven/WatchLib/images/download.svg?version=1.0.4) ](https://bintray.com/androidcoco/maven/WatchLib/1.0.4/link)
2-
31
# 手表定位SDK使用说明(非YhLibraryForAndroid说明)
42

5-
标签(空格分隔): 学习
6-
7-
---
3+
[ ![Download](https://api.bintray.com/packages/androidcoco/maven/WatchLib/images/download.svg?version=1.0.4) ](https://bintray.com/androidcoco/maven/WatchLib/1.0.4/link)
84

95
## 1,环境要求
106

@@ -14,6 +10,18 @@
1410
当前使用model的bulid.gradle 最后加入 x.x.x为版本号请使用最新稳定版当前编写文档时最新版本1.0.1
1511
```java
1612
   compile 'org.yh.yhframe:WatchLib:last_version'
13+
14+
   //App 继承ShunQingApp 必须SDK初始化用
15+
   public class MyApp extends ShunQingApp
16+
{
17+
@Override
18+
public void onCreate()
19+
{
20+
super.onCreate();
21+
}
22+
......
23+
.....
24+
}
1725
```
1826
## 3,配置
1927
项目的bulid.gradle
@@ -27,10 +35,16 @@ allprojects {
2735
```
2836
## 4,百度地图Key配置
2937
```JAVA
30-
<!-- 百度地图Key -->
38+
<application
39+
....
40+
android:name=".MyApp"
41+
android:theme="@style/BaseAppTheme">
42+
<!-- 百度地图Key -->
3143
<meta-data
3244
android:name="com.baidu.lbsapi.API_KEY"
33-
android:value="你自己的key百度申请">
45+
android:value="a9G8YTwtEP6DlGtXMQefGFktB0m0eTMC"/>
46+
....
47+
</application>
3448
```
3549
## 5,同步项目
3650
## 6,新建一个普通的Activiy

0 commit comments

Comments
 (0)