Skip to content

Commit

Permalink
天气接入知心和彩云
Browse files Browse the repository at this point in the history
  • Loading branch information
maning0303 committed Oct 14, 2020
1 parent 7f6906e commit 1f9b424
Show file tree
Hide file tree
Showing 26 changed files with 1,931 additions and 100 deletions.
3 changes: 0 additions & 3 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ dependencies {
/*菜单*/
implementation 'io.github.yavski:fab-speed-dial:1.0.4'
/*高德地图*/
implementation files('libs/AMap_Location_V3.3.0_20170118.jar')
implementation 'com.amap.api:location:latest.integration'
/* 模糊 */
implementation 'jp.wasabeef:blurry:2.1.1'
/*网络监测*/
Expand Down
Binary file removed app/libs/AMap_Location_V3.3.0_20170118.jar
Binary file not shown.
3 changes: 1 addition & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,7 @@
<!-- 高德地图 -->
<meta-data
android:name="com.amap.api.v2.apikey"
android:value="5374d05f8aaee3db9c2de3353db345c4"/>

android:value="48cc89a5931e80321bced46714a03563"/>
<service android:name="com.amap.api.location.APSService"/>

<activity
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
package com.maning.gankmm.bean.weather;

import java.util.List;

/**
* @author : maning
* @date : 2020-10-14
* @desc :
*/
public class CaiyunWeatherBaseBean {

/**
* status : ok
* api_version : v2.5
* api_status : active
* lang : zh_CN
* unit : metric
* tzshift : 28800
* timezone : Asia/Taipei
* server_time : 1602674989
* location : [25.1552,121.6544]
*/

private String status;
private String api_version;
private String api_status;
private String lang;
private String unit;
private int tzshift;
private String timezone;
private int server_time;
private List<Double> location;

public String getStatus() {
return status;
}

public void setStatus(String status) {
this.status = status;
}

public String getApi_version() {
return api_version;
}

public void setApi_version(String api_version) {
this.api_version = api_version;
}

public String getApi_status() {
return api_status;
}

public void setApi_status(String api_status) {
this.api_status = api_status;
}

public String getLang() {
return lang;
}

public void setLang(String lang) {
this.lang = lang;
}

public String getUnit() {
return unit;
}

public void setUnit(String unit) {
this.unit = unit;
}

public int getTzshift() {
return tzshift;
}

public void setTzshift(int tzshift) {
this.tzshift = tzshift;
}

public String getTimezone() {
return timezone;
}

public void setTimezone(String timezone) {
this.timezone = timezone;
}

public int getServer_time() {
return server_time;
}

public void setServer_time(int server_time) {
this.server_time = server_time;
}

public List<Double> getLocation() {
return location;
}

public void setLocation(List<Double> location) {
this.location = location;
}
}
Loading

0 comments on commit 1f9b424

Please sign in to comment.