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
19
votes
4 answers

Firebase Remote Config/Realtime database on Huawei devices

Are all of the Firebase services for Android unable to work on Huawei or is it just the cloud messaging service that does not work? Do all of the firebase services rely on Google Play Services?
19
votes
2 answers

"Source code does not match the bytecode" for system files on Huawei

We are debugging an issue with one of our apps which affects only Huawei devices. To debug it, we purchased P20 Lite ANE-LX1. We've placed some breakpoints in our code and are investigating the full stack trace. The device has Android 8.0 installed,…
17
votes
3 answers

Is it possible to read data from TOF (time-of-flight) sensor on Android?

Recent models of Android phones (Honor View 20, Huawei P30 Pro, Samsung Galaxy 10 5g) have TOF (time-of-flight) sensor. Is it possible to read it through some API or manufacturer SDK?
Alexander Ponomarev
  • 2,598
  • 3
  • 24
  • 31
14
votes
4 answers

MemoryLeakMonitor.jar is not exist! | Huawei Phone

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…
MinRam
  • 153
  • 1
  • 1
  • 8
13
votes
1 answer

Prevent jquery-mobile popup repositions for Huawei phones after text is entered to an input element

in our project we are utilizing the jquery-mobile popup dialog Once the dialog is shown, the first time I attempt to fill in the text on my phone (Huawei P9 lite, Android 6.0.0, Chrome 55.0.2883.91), the popup closes and reopens. I am able to…
Igor L.
  • 3,159
  • 7
  • 40
  • 61
13
votes
3 answers

Android withText option does not work for action bar buttons on Huawei MediaPad (T1-A21L)

The buttons on the action bar on this tablet, if shown with text, suffer from text warping as in the screenshot below: I tried many possible settings combinations (ifRoom, always, withText,...). Even attempting to manipulate the actual view of the…
mido
  • 583
  • 1
  • 4
  • 20
11
votes
3 answers

Is there any effective way to test an app for the Huawei Store using Android Studio emulator?

I would like to know if there is any effective way to test an app for Huawei Store using an Android Studio emulator. I tried disabling the Google Play Services, but for some reason Retrofit requests stopped working :/
Augusto Carmo
  • 4,386
  • 2
  • 28
  • 61
11
votes
4 answers

I can't get Firebase token from Huawei p40 series device

I usually get the token with this method, but with the arrival of the huawei p40 series I can't get the token with those FirebaseInstanceId.getInstance().getInstanceId().addOnSuccessListener( this, new OnSuccessListener() { …
Axel López
  • 266
  • 1
  • 5
  • 13
11
votes
6 answers

How to access payload of HMS push notifications?

I have published an Android app on Huawei AppGallery and am able to send push notifications from my app backend server via HMS Push Service to the mobile phone as described below. However, I wonder how to access the push notification payload in the…
11
votes
1 answer

How to keep playback active after the screen is turned off

I have an app with audio playback, but on some devices (mainly Huawei, Samsung, Sony) playback is stopped when the screen goes off. Note: playback does not stop for some other apps like Spotify, Play Music I found this answer (for Huawei devices)…
11
votes
1 answer

How to deal with Huawei's and Xiaomi's "battery optimizations"

I have an app that listens for notifications via NotificationListenerService. My app survives both the Doze mode and app stand by on almost any phone (if properly set-up e.g. exception or a foreground service). Then come the Huawei and Xiaomi with…
11
votes
3 answers

Foreground Service killed on Huawei (GRA-UL00) - Protected Apps Enabled

My foreground sticky service is killed after a few hours without being restarted. I know this has been asked a couple of times, and I have read and verified all the checks on my device. Its important to note that this seems to occur only on Huawei…
10
votes
2 answers

Huawei AppGallery Connect API - 403 client token authorization fail

I am trying to automate the app publishing process to the Huawei store using the REST APIs as mentioned in the link. https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agcapi-overview I successfully received an access…
Ponsuyambu
  • 7,876
  • 5
  • 27
  • 41
10
votes
5 answers

Why can't I get pushToken by using Huawei Push Kit?

I am using following code snippet, however I still can't get the pushToken. private void obtainToken() { // get token new Thread() { @Override public void run() { try { String appId =…
10
votes
3 answers

Can same application use for Huawei AppGallery without any changes?

We received news from Google, that play store will no longer sho win Huawei. Huawei has come up with another store called AppGallery . The question is, can same apk upload to Huawei AppGallery and the other still active in Play Store ?
HelmiB
  • 12,303
  • 5
  • 41
  • 68
1
2
3
92 93