移除腾讯地图残留配置和代码

This commit is contained in:
zlzw 2023-07-17 10:16:24 +08:00
parent bc0ed26377
commit 9bfed0bc7b
2 changed files with 7 additions and 7 deletions

View File

@ -134,9 +134,9 @@
<data android:scheme="smvslm" />
</intent-filter>
</activity> <!-- keytool -exportcert -alias androiddebugkey -keystore feixiong.jks | openssl sha1 -binary | openssl base64 -->
<meta-data
android:name="TencentMapSDK"
android:value="${txMapAppKey}" />
<!-- <meta-data-->
<!-- android:name="TencentMapSDK"-->
<!-- android:value="${txMapAppKey}" />-->
<!-- 百度语音识别 -->
<meta-data
android:name="com.baidu.speech.APP_ID"

View File

@ -65,7 +65,7 @@ public class CommonHttpUtil {
* @param poi 是否要查询POI
*/
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
+ "&poi_options=address_format=short;radius=1000;page_size=20;page_index=" + pageIndex + ";policy=5" + CommonAppConfig.getInstance().getTxMapAppSecret();
String sign = MD5Util.getMD5(s);
@ -101,7 +101,7 @@ public class CommonHttpUtil {
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) {
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 +
"&page_size=20" + CommonAppConfig.getInstance().getTxMapAppSecret();
String sign = MD5Util.getMD5(s);
@ -146,7 +146,7 @@ public class CommonHttpUtil {
commonCallback.onFinish();
}
}
});
});*/
}