移除腾讯地图残留配置和代码
This commit is contained in:
parent
bc0ed26377
commit
9bfed0bc7b
@ -134,9 +134,9 @@
|
|||||||
<data android:scheme="smvslm" />
|
<data android:scheme="smvslm" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity> <!-- keytool -exportcert -alias androiddebugkey -keystore feixiong.jks | openssl sha1 -binary | openssl base64 -->
|
</activity> <!-- keytool -exportcert -alias androiddebugkey -keystore feixiong.jks | openssl sha1 -binary | openssl base64 -->
|
||||||
<meta-data
|
<!-- <meta-data-->
|
||||||
android:name="TencentMapSDK"
|
<!-- android:name="TencentMapSDK"-->
|
||||||
android:value="${txMapAppKey}" />
|
<!-- android:value="${txMapAppKey}" />-->
|
||||||
<!-- 百度语音识别 -->
|
<!-- 百度语音识别 -->
|
||||||
<meta-data
|
<meta-data
|
||||||
android:name="com.baidu.speech.APP_ID"
|
android:name="com.baidu.speech.APP_ID"
|
||||||
|
@ -65,7 +65,7 @@ public class CommonHttpUtil {
|
|||||||
* @param poi 是否要查询POI
|
* @param poi 是否要查询POI
|
||||||
*/
|
*/
|
||||||
public static void getAddressInfoByTxLocaitonSdk(final double lng, final double lat, final int poi, int pageIndex, String tag, final HttpCallback commonCallback) {
|
public static void getAddressInfoByTxLocaitonSdk(final double lng, final double lat, final int poi, int pageIndex, String tag, final HttpCallback commonCallback) {
|
||||||
String txMapAppKey = CommonAppConfig.getInstance().getTxMapAppKey();
|
/*String txMapAppKey = CommonAppConfig.getInstance().getTxMapAppKey();
|
||||||
String s = "/ws/geocoder/v1/?get_poi=" + poi + "&key=" + txMapAppKey + "&location=" + lat + "," + lng
|
String s = "/ws/geocoder/v1/?get_poi=" + poi + "&key=" + txMapAppKey + "&location=" + lat + "," + lng
|
||||||
+ "&poi_options=address_format=short;radius=1000;page_size=20;page_index=" + pageIndex + ";policy=5" + CommonAppConfig.getInstance().getTxMapAppSecret();
|
+ "&poi_options=address_format=short;radius=1000;page_size=20;page_index=" + pageIndex + ";policy=5" + CommonAppConfig.getInstance().getTxMapAppSecret();
|
||||||
String sign = MD5Util.getMD5(s);
|
String sign = MD5Util.getMD5(s);
|
||||||
@ -101,7 +101,7 @@ public class CommonHttpUtil {
|
|||||||
commonCallback.onFinish();
|
commonCallback.onFinish();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -112,7 +112,7 @@ public class CommonHttpUtil {
|
|||||||
*/
|
*/
|
||||||
public static void searchAddressInfoByTxLocaitonSdk(final double lng, final double lat, String keyword, int pageIndex, final HttpCallback commonCallback) {
|
public static void searchAddressInfoByTxLocaitonSdk(final double lng, final double lat, String keyword, int pageIndex, final HttpCallback commonCallback) {
|
||||||
|
|
||||||
String txMapAppKey = CommonAppConfig.getInstance().getTxMapAppKey();
|
/* String txMapAppKey = CommonAppConfig.getInstance().getTxMapAppKey();
|
||||||
String s = "/ws/place/v1/search?boundary=nearby(" + lat + "," + lng + ",1000)&key=" + txMapAppKey + "&keyword=" + keyword + "&orderby=_distance&page_index=" + pageIndex +
|
String s = "/ws/place/v1/search?boundary=nearby(" + lat + "," + lng + ",1000)&key=" + txMapAppKey + "&keyword=" + keyword + "&orderby=_distance&page_index=" + pageIndex +
|
||||||
"&page_size=20" + CommonAppConfig.getInstance().getTxMapAppSecret();
|
"&page_size=20" + CommonAppConfig.getInstance().getTxMapAppSecret();
|
||||||
String sign = MD5Util.getMD5(s);
|
String sign = MD5Util.getMD5(s);
|
||||||
@ -146,7 +146,7 @@ public class CommonHttpUtil {
|
|||||||
commonCallback.onFinish();
|
commonCallback.onFinish();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user