Questions tagged [huawei-mobile-services]

Use this tag for programming questions relating to HMS Core. HMS Core is an assortment of open device and cloud capabilities provided by Huawei Mobile Services (HMS). Noteworthy capabilities include: Account Kit, In-App Purchases (IAP), Push Kit, Game Service, Location Kit, Map Kit, Ads Kit, and ML Kit.

HMS Core is a collection of basic mobile service end-to-cloud capabilities, dedicated to helping developers build high-quality apps with minimal hassle.

HMS Core Kits

App Services

  1. Account Kit ()
  2. Ads Kit()
  3. Analytics Kit ()
  4. App Linking
  5. Awareness Kit
  6. Drive Kit
  7. Dynamic Tag Manager
  8. Game Service
  9. Health Kit
  10. Identity Kit
  11. In-App Purchases ()
  12. Location Kit()
  13. Map Kit()
  14. Push Kit ()
  15. Quick App
  16. Scan Kit
  17. Site Kit
  18. Wallet Kit

Graphics

  1. Accelerate Kit
  2. AR Engine
  3. Computer Graphics Kit
  4. GameTurbo Engine
  5. Scene Kit

Media

  1. Audio Engine
  2. Audio Kit
  3. Camera Engine
  4. Image Kit
  5. Panorama Kit
  6. Video Kit
  7. WisePlay DRM

AI

  1. ML Kit()
  2. HUAWEI HiAI Foundation
  3. HUAWEI HiAI Engine
  4. HUAWEI HiAI Service

Smart Device

  1. CaaS Engine
  2. Cast Engine
  3. DeviceVirtualization Engine
  4. OneHop Engine
  5. Share Engine

Security

  1. Fast Identity Online(FIDO)
  2. Safety Detect
  3. LocalAuthentication Engine
  4. DataSecurity Engine

System

  1. hQUIC Kit
  2. Nearby Service
  3. Wireless Kit

Resources

Join to keep up with latest news and activities of HMS Core. Community where you can exchange insights, discuss puzzles and share experience with developers.

Get the latest open-source code examples to help you easily integrate HMS Core capabilities. Participate in open source project, contribute valuable suggestions about code example improvement to benefit more developers

The HUAWEI Codelabs provide a technical guidance, tutorial and hands-on coding experience. For example, enabling HUAWEI Account Kit, enabling HUAWEI Map Kit, etc.

The video courses help introduce the features, usage scenarios, and benefits corresponding to HMS Core Kits, as well as explaining how best to integrate and implement them.

  • Technical Support:

Europe: developereu@huawei.com

Asia-Pacific region: developerapac@huawei.com

Latin America: developerla@huawei.com

Middle East and North Africa: developermea@huawei.com

South Asia: developersa@huawei.com

1390 questions
3
votes
0 answers

IllegalStateException on setUidCleartextNetworkPolicy when applying StrictMode on Android

We've been lately seeing the following stack trace in our developer console, uniquely reported for Huawei devices running Android 10 (Huawei HUAWEI P smart 2019 (HWPOT-H), 2816MB RAM, Android 10 to be precise): java.lang.IllegalStateException: …
Kvandermast
  • 106
  • 4
3
votes
1 answer

Strange crash only affecting Huawei devices - Android 10 - android.view.InflateException

We have the following crash a LOT... it only comes from Huawei P30 devices running Android 10 android.view.InflateException: Binary XML file line #67 in com.app.test:layout/view_flight_leg: Binary XML file line #67 in…
Lee Armstrong
  • 11,420
  • 15
  • 74
  • 122
3
votes
3 answers

Foreground Service and WakeLocks are not working on Huawei Devices

I developed an Android app called Multi Countdown Timer In which we can start multiple timers at once. The App runs on the background using Foreground Service in order to run continuously and override's The Android Doze Mode. I have tested my App on…
3
votes
1 answer

android Studio Logcat not working while debugging on HUAWEI Phone

My Logcat stopped working with my "developer device" Huawei Y5. I use Android 3.5.1 fully updated, until two days ago all was working fine, now suddenly my App logs dont show up anymore. The logcat shows the following errors: 2019-10-18 08:25:32.075…
3
votes
1 answer

RunTime Localization (Multi-language) not working on some devices ex. Oppo f9 and Huawei y9

I implemented the following Localization logic in order to be able to change the language of my app dynamically from English to Arabic and vice-versa. It is working on all emulator versions from 5.1 up till 9.0, and on all of my 7 physical devices.…
Mena
  • 3,019
  • 1
  • 25
  • 54
3
votes
1 answer

Huawei specific OS flavour creating weird files in my files folder

Basically, I need to save some files in my app. For that, I use the directory returned by getFilesDir() method (like here). This works fine, but on some devices (I know at least two), files named hw_cached_resid.list or aware_learning_data appear in…
Lev Leontev
  • 2,538
  • 2
  • 19
  • 31
3
votes
1 answer

Why foreground service stops when screen is off on Android Oreo?

Android Oreo stops my foreground service when I turn off screen. It happens, when device is unpluged. I test my app on Huawei MediaPad T5. I send test request every 30 seconds with Handler.postDelayed. I read about background executions limits in…
3
votes
0 answers

Android - Huawei P20 cannot mount obb file

I've been having an issue where I cannot get the OBB file to be mounted on the Huawei P20 device despite it working for all other devices. The ObbStateChangeListener returns a state of 21 but no details of why I cannot mount the Obb file. Here is…
SamSB
  • 31
  • 1
3
votes
1 answer

App crashing only on Huawei phones with NameNotFoundException in PackageManager?

I'm fairly new to Android apps and ran into a problem that I simply cannot figure out. I don't even know how to start debugging it so I'm hoping someone can help. My app started to crash during startup only on Huawei phones and out of the blue (I…
Amalie
  • 282
  • 1
  • 3
  • 15
3
votes
1 answer

Huawei Device Won't Import Database

I have a few different phones and I think this import works on them all, except my Huawei Mate 20 Pro. Here is the code - public static void importDB() { Log.i("ImportDB", "Started"); try { String DB_PATH =…
AndyCr15
  • 465
  • 5
  • 17
3
votes
4 answers

Huawei Phone not appearing in Android Studio on Windows 10

My Huawei P8 lite smartphone is not appearing in Android Studio on Windows 10. Although internal memory of mobile is appearing and file transfer is possible. Here's things I have tried. 1) Connected my phone to other laptops. It's working fine.…
3
votes
2 answers

Android Kills Background Services in Xiaomi, Huawei etc

I need to make my service unstoppable. I tried to return START_STICKY on start command, it works well on emulator but, when remove the app from task manager on my device (Xiaomi mi5s, Android 7), it doesn't create itself again. @Override public int…
3
votes
1 answer

Android monitor: when i try to take a screenshot i receive Screenshot Unsupported protocol: 2

With my huawei honor 10 (android 8.1) when I try from the android device monitor to take a screenshot I have this error : [2018-09-18 08:44:24 - Screenshot] Unsupported protocol: 2 What it's mean ? How can I take screenshot from android device…
3
votes
2 answers

Huawei e3531 usb modem - send sms with a PHP script

I'm making a script with PHP 7.1 to send SMS with the Huawei E3531 usb modem. There is no documenation and I have a lot of difficulties to find the solution. This is the script to send the sms but I get an error 100002. First, I recuperate the token…
joe alfieri
  • 31
  • 1
  • 2
3
votes
1 answer

Not working - Debug Mode native code (c/c++) on Android studio with tablet HUAWEI MediaPad M5

I have a problem when i put breakpoints on my native code (c/c++) with this tablet (HUAWEI MediaPad M5, android 8.0.0, processor Hisilicon Kirin 960s). Indeed, in debug mode, i can't use the breakpoint on native code. So i can't debug native code.…
Tango
  • 31
  • 3