huawei-mobile-services

HMS Awareness Kit-Error code 10011 is returned after the SDK is integrated

与世无争的帅哥 提交于 2020-08-10 18:53:11
问题 I integrated the HMS Core Awareness SDK and then called the getWeatherByDevice API to query weather data, but an error occurred: com.huawei.hms.kit.awareness.b.HHG: Error Code: 10005 Desc: barrier or capture frequency limit. Why? 回答1: This error is caused by too frequent API calls. Currently, there are two restrictions on calling the APIs of HUAWEI Awareness Kit: The number of API calls within 1 hour cannot exceed 1000. The number of API calls within 5 seconds cannot exceed 20. The reasons

android reverse geocoding not working on huawei device

允我心安 提交于 2020-08-05 09:37:47
问题 I am trying to reverse Geocode lat,long by this piece of code Geocoder geocoder = new Geocoder(context, Locale.ENGLISH); try { List<Address> addresses = geocoder.getFromLocation(latitude, longitude, 1); return addresses; } catch (IOException e) { Log.e("Error : Geocoder", "Impossible to connect to Geocoder", e); } Its working on all devices except Huawei.It is giving exception in Huawei device. Client reported on his huawei device, Huawei Y625 running on kitkat. I tested it on huawei H30

android reverse geocoding not working on huawei device

那年仲夏 提交于 2020-08-05 09:36:08
问题 I am trying to reverse Geocode lat,long by this piece of code Geocoder geocoder = new Geocoder(context, Locale.ENGLISH); try { List<Address> addresses = geocoder.getFromLocation(latitude, longitude, 1); return addresses; } catch (IOException e) { Log.e("Error : Geocoder", "Impossible to connect to Geocoder", e); } Its working on all devices except Huawei.It is giving exception in Huawei device. Client reported on his huawei device, Huawei Y625 running on kitkat. I tested it on huawei H30

MemoryLeakMonitor.jar is not exist! | Huawei Phone

我的梦境 提交于 2020-08-02 06:32:30
问题 It maybe cause by the ARM GPUs in Huawei Phones, according to this article ARM GPUs in Huawei phone. And it doesn't happen when i try to run the app in another phone (Pixel API 27 in Android Studio).So What should i do? Logcat show in Huawei Phone 2018-12-08 01:22:50.705 25680-25699/? E/MemoryLeakMonitorManager: MemoryLeakMonitor.jar is not exist! 2018-12-08 01:22:50.706 25680-25680/? E/Minikin: Could not get cmap table size! gradle Enviroment android { compileSdkVersion 27 defaultConfig {