Explore HMS
Overview
In App Footage
Screenshots
Introduction
Explore HMS application will host all HMS Core services and kits as example modules. It targets to
include all features that HMS can provide. Because HMS Core is rapidly growing source, new modules
and features fill be added. With each update, the application will be kept up to date, new features
will be added, the application and modules will be constantly updated and optimized.
When users install the application from AppGallery, only 4 modules will be installed. However,
because this project was created with HMS Dynamic Ability Service and Android App Bundle technology
together, users will be able to download the modules they need without having unnecessary modules.
This ensures that the app download size and the size it takes up on the device remain optimal.
App Bundle On-Demand feature provides us the capability of downloading the requested modules. In
this way, the application does not have non-required features.
Focus
- Provide ease for software developers and content providers who want to examine and learn about the
services and kits offered by HMS Core or anyone who is interested in HMS.
- Being a useful code sample source and reference for software developers or who wants to learn what
services HMS Core includes and how to implement them into their projects.
What You Will Need
Hardware Requirements
- A computer that can run Android Studio.
- An Android phone for debugging.
Software Requirements
- Android SDK package
- Android Studio 3.X
- HMS Core (APK) 4.X or later
Technical Information
- Project Software Language: JAVA
- Java Version: 1.8 or later.
- Android Studio Version: 4.0
- Android SDK version is 26 or later.
- Gradle Version: 4.1.1
๐ Before You Start
To ensure the smooth running of this project, you'll need the agconnect-services.json file. Follow these steps:
๐ Huawei Developer Account:
๐๏ธ Find Debug Fingerprint (SHA256):
- Open your Android project and locate the Debug Fingerprint (SHA256) by navigating to View -> Tool Windows -> Gradle -> Tasks -> Android -> signingReport.
๐ Huawei Developer Console:
๐ฑ Create Your App:
๐ค Add SHA256 Fingerprint:
- Add the SHA256 Fingerprint to your app on Huawei Console: My Apps -> Select App -> Project Settings.
๐ Enable Necessary SDKs:
- Navigate to My Apps -> Select App -> Project Settings -> Manage APIs.
- Ensure that Map Kit, Site Kit, Auth Service, and ML Kit are enabled.
๐ฅ Download agconnect-services.json:
- On the Project Settings page, click the "agconnect-services.json" button to download the JSON file.
๐ Move JSON File:
๐ Update App ID:
- Go to the app-level Gradle file and ensure that the application ID matches the app ID on the AppGallery console you defined.
๐ You're all set! Your project should now run smoothly with Huawei services. If you encounter any issues, refer to the provided documentation for further assistance.
Happy coding! ๐
Implemented Kits And Services
A/B Testing provides a collection of refined operation tools to optimize app experience and improve
key conversion and growth indicators. You can use the service to create one or more A/B tests
engaging different user groups to compare your variants of app UI design, copywriting, product
functions, or marketing activities for performance metrics and find the best one that meets user
requirements. This helps you make correct decisions. A/B Testing is commonly used by large Internet
companies, with hundreds of A/B tests conducted every week.
HUAWEI Accelerate Kit provides the multi-thread acceleration capability that efficiently improves
concurrent execution of multiple threads. It is located above the kernel in the OS and opened to
developers as a set of C language APIs.
Most of current Android devices run a multi-core system. To give full play to the system, programs
that can execute multiple tasks concurrently are preferred. Generally, multi-thread programs at the
Native layer control task execution by managing threads. Accelerate Kit provides a new multi-thread
programming method by using the multi-thread library (multithread-lib). It frees you from the thread
management details so that you can focus on developing apps that can fully utilize the multi-core
hardware capability of the OS, promising more efficient running.
Version: 6.11.0.300
Account Kit provides you with simple, secure, and quick sign-in and authorization functions. Instead
of entering accounts and passwords and waiting for authentication, users can just tap the Sign In
with HUAWEI ID button to quickly and securely sign in to your app with their HUAWEI IDs.
Features:
- Signing In with a HUAWEI ID.
- Silently Signing In with a HUAWEI ID.
- Signing Out from a HUAWEI ID.
- Revoking HUAWEI ID Authorization.
- Automatically Reading an SMS Verification Code.
Version: 13.4.62.302
HUAWEI Ads Publisher Service is a monetization service that leverages Huawei's extensive data
capabilities to display targeted, high quality ad content in your apps to the vast user base of
Huawei devices.
Features:
Version: 6.10.0.302
HUAWEI Analytics Kit offers a rich array of preset analytics models that help you gain a deeper
insight into your users, products, and content. With this insight, you can then take a data-driven
approach to market your apps and optimize your products.
Features:
App Performance Management (APM) of HUAWEI AppGallery Connect provides minute-level app performance
monitoring capabilities. You can view and analyze app performance data collected by APM in
AppGallery Connect to comprehensively understand online performance of apps in real time, helping
you quickly and accurately rectify app performance problems and continuously improve user
experience.
Users are generally more willing to download smaller apps. Therefore, reducing the size of your app
package to the greatest possible extent, is essential for boosting its download and installation
success rate. App Bundle does this for you, and has become the preferred service for an increasing
number of developers. HUAWEI AppGallery Connect allows you to release your app in App Bundle format,
with the relevant Huawei SDKs integrated, ensuring that users only need to download the required
content, bundled in a smaller, more streamlined app package.
Version: 1.9.1.300
App Linking allows you to create cross-platform links that can work as defined regardless of whether
your app has been installed by a user. When a user taps the link on an Android or iOS device, the
user will be redirected to the specified in-app content. If a user taps the link in a browser, the
user will be redirected to the same content of the web version.
Features:
- Social sharing
- Creating short & long app link
- Feature Analyse
Version: 1.9.1.300
App Messaging even allows you to customize how your messages look and the way they will be sent, and
define events for triggering message sending to your users at the right moment.
Features:
- Displaying an In-App Message
After an app is developed, you need to submit it to Huawei for review in HUAWEI AppGallery Connect.
Steps :
- Configuring App Information
- Setting Countries/Regions to Release Your App
- Setting Whether the Version Is for Open Testing
- Uploading the App Package
- Configuring Payment Information
- Configuring Content Rating
- Configuring the Privacy Description
- Configuring the Privacy Policy
- Configuring Copyright Information
- Completing Other Version Information
- Scheduling the App Release
- Submitting Your App for Review
- Adjusting the Release Date for Your App
- Appendix: App Languages
Android apps use a signature key for signing. Each signature key has an associated key certificate.
Devices and services can use the certificate to check whether the app is from a trusted source. For
trusted app updates, ensure that the app signature of the update package is the same as that of the
installed app so that your app update will be accepted. However, if the signature key is lost or
stolen, you cannot update your app. In this case, you will have to use a new package name to release
the updated app. This will lead to risks such as user loss.