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
178
votes
9 answers

Huawei, logcat not showing the log for my app?

OK, logcat is showing system logs but it is not showing application log on my Huawei Ascend. If I switch to another device such as my Galaxy Nexus or Nexus 7 then for the same app (same APK even) log is displayed. The Huawei Ascend is running…
William
  • 20,150
  • 8
  • 49
  • 91
142
votes
7 answers

"Protected Apps" setting on Huawei phones, and how to handle it

I have a Huawei P8 with Android 5.0 that I'm using for testing an app. The app needs to be running in the background, as it tracks BLE regions. I've discovered that Huawei has built in a "feature" called Protected Apps, that can be accessed from…
jaseelder
  • 3,403
  • 3
  • 25
  • 26
70
votes
6 answers

Have both GMS and HMS in the project

How does one go about having both Google Mobile Services and Huawei Mobile Services in the app? Being that Huawei have lost the license over GMS, it seems we need to replace all the GMS services used in the apps with Huawei provided ones. What would…
AndreiBogdan
  • 10,858
  • 13
  • 58
  • 106
46
votes
4 answers

How to create Huawei Android Emulator

I'm developing an Android app using Huawei's Push service. I have installed DevEco IDE plugin within Android Studio. But I don't have any Huawei device to test. So my question is that there is any Huawei's Android phone emulator or not for Windows…
Android Geek
  • 573
  • 1
  • 4
  • 7
42
votes
4 answers

FileProvider getUriForFile() error on Huawei devices

I have an exception that happens only on Huawei devices in my app when using FileProvider.getUriForFile: Exception: java.lang.IllegalArgumentException: Failed to find configured root that contains /storage//Android/data/
guillaume-tgl
  • 2,749
  • 3
  • 23
  • 30
41
votes
5 answers

Could not get unknown property 'manifestOutputDirectory'

I'm trying to "make project" with Android Studio, and I'm getting this error: Execution failed for task ':myApp:processGoogleDebugManifest'. Could not get unknown property 'manifestOutputDirectory' for task ':myApp:processGoogleDebugManifest' of…
38
votes
4 answers

onTaskRemoved() not getting called in HUAWEI and XIAOMI devices

I've been using onTaskRemoved() method in a Service to detect when an app was removed from device RECENT list by swiping it away. I preform some logging and some other operations that need to take place when this happens. It works perfectly. Then I…
Alon Minski
  • 1,571
  • 2
  • 19
  • 32
36
votes
6 answers

Huawei Mobile Services SDK violation Device and Network Abuse policy

Your app contains content that doesn’t comply with the Device and Network Abuse policy. We found your app is using a non-compliant version of Huawei Mobile Services SDK which contains code to download or install applications from unknown sources…
VIISHRUT MAVANII
  • 11,410
  • 7
  • 34
  • 49
34
votes
11 answers

How to open the Huawei AppGallery directly?

I know that is possible to open my app (based on package name) in Google Play Store, but how to do same in Huawei AppGallery?
Michalsx
  • 3,446
  • 5
  • 33
  • 46
33
votes
6 answers

System.currentTimeMillis() returns incorrect timestamp on Huawei

The issue is that System.currentTimeMillis() returns the wrong milliseconds with different ranges of time mainly within the future sometimes up to 6 months, but it varies from a few seconds to months. The device that this is occurring on is a Tablet…
Arlind Hajredinaj
  • 8,380
  • 3
  • 30
  • 45
31
votes
9 answers

Huawei device killing my foreground service, even with dontkillmyapp.com's solution

I'm developing an app which is basically a location tracking software. When you start it, it saves locations and sending them to a server. The code is working for like 5 years now without any modification, without any errors. It is implemented with…
Adam Varhegyi
  • 11,307
  • 33
  • 124
  • 222
30
votes
4 answers

Google denied update due Remediation for Implicit PendingIntent Vulnerability

When i'm trying to update my app - i got error during review process. Remediation for Implicit PendingIntent Vulnerability - https://support.google.com/faqs/answer/10437428. In my app there is on place, where i'm creating PendingIntent - for…
22
votes
1 answer

java.lang.IllegalArgumentException: register too many Broadcast Receivers

I'm getting an java.lang.IllegalArgumentException with the following message regist too many Broadcast Receivers (yes, the message says regist and not register) when trying to get the latest ACTION_BATTERY_CHANGED sticky intent. I use the following…
21
votes
4 answers

Can a Flutter app be proposed on the Huawei AppGallery?

Some Huawei mobile devices don't have the Google Play Store and have the Huawei AppGallery instead. Since Flutter is for cross-platform development (iOS and Android), it may be desirable to propose Flutter developed apps through the Huawei…
luvzfootball
  • 710
  • 1
  • 9
  • 21
20
votes
3 answers

Will react native work without Google Services on Huawei phone?

Soon new Huawei phones will stop supporting Google Play and Google Mobile Services. Huawei is preparing its own ecosystem called HMS https://developer.huawei.com/consumer/en/service/hms/developer.html Their app store is called "Huawei App Gallery"…
1
2 3
92 93