Sports Health App Back-End Keepalive Solution - Huawei Developers

The Health app collects statistics on various sensors, which depend on the hardware of the phone.
Android is implemented on top of the bottom layer. The hardware layer implementation varies with vendors, and the power saving mode varies with vendors. Therefore, it is difficult to collect data on multi-vendor devices.
Most of the Sports Health Apps want to be able to collect statistics on sports data in the background.
[Background keep-alive]: To make step count more accurate, the app wants to collect the user step count for a long time. The app wants to keep the user step count in the background of different brands of phones (live keep-alive) and continuously collect sensor data. However, the system may kill the user step count. As a result, the count is inaccurate.
Solution 1: HMS Integration Solution
If the data required by users is supported by Huawei HiHealth or Health Kit, the HMS can be integrated to solve the problem. Huawei HiHealth and Health kits can be used in the background of Huawei phones for a long time.
Huawei Push is integrated. The Push function can be used to receive messages when the app process is not running. CPs that have the requirement of pushing messages can be guided to access Push messages, for example, Eyecon.
Solution 2: Guide manual settings
Set manual instructions in the app to guide users to manually set keepalive (close battery optimization and allow background running).
Multiple Pedometer Apps have such settings, such as winwalk and sweatcoin.

You can get data from Huawei Health Kit.

Very useful thanks for sharing!

Related

[AppsUP] Collection of Integration Cases for Analytics Kit

AppsUP contest has been launched since June 30. If you missed the optimal chance to participate in, hurry up now. This time I will share the collection of integration cases for Analytics Kit. If you still have no idea about integrating this kit. Hope this can help you know it better.
Huawei Mobile Services (HMS) Analytics Kit Implementation and Usage for Android
In this article, the author tries to explain Huawei Analytics Kit implementation for an Android app. In addition, he will create a demo project and check analysis on AppGallery Connect dashboard.
Analytics Kit – Customize START and END Analytics page events for no activity pages
This articles helps users to know how to track a specific navigation events for start or end pages in fragments or any specific space.
Data Export API of Analytic Kit
Data export functions is very useful for developers who use their own prefer Business intelligence (BI) system for unified data analysis.
Using advanced Analytics events with Kotlin
This post aims to help developers use Kotlin to implement the Advanced Analytics feature in their codebase.
Demystifying Data Binding - Android Jetpack Part 1 – Novice
Using data binding can lead to faster development times, faster execution times and easier to read (and maintain) code. In this article we will learn about Data binding library from Novoice mode to Proficient mode
Demystifying Data Binding - Android Jetpack Part 2 – Advanced
Data Binding allows you to bind data and UI elements so that when the data changes, the pertinent elements are updated on screen.
Demystifying Data Binding - Android Jetpack Part 3 – Proficient
Data Binding can be achieved by using main components of MVVM i.e. Live Data and View Model. In this article, the author introduces the proficient way to receives the latest available data If an activity or fragment is recreated due to a configuration change (for instance, device rotation).
Optimize Conversion Rate Using A/B Testing
With Huawei Analytics Kit, A/B testing can be a fantastic method to obtain valuable insight regarding visitor behavior and to improve applications or website conversion rate.
Multi-dimensional Event Analysis|HUAWEI Analytics Kit (1)
HUAWEI Analytics Kit is a one-stop data analysis platform for mobile app developers that utilizes data to drive daily app operations, bringing out dynamic details in a comprehensive, timely, and efficient manner.
Change your Data Storage in a Published App
This article explains how to generate a work order for changing this data storage once your app has been released with a different one than the one you need.
Related articles you can refer:
[AppsUP] Collection of Integration Cases for Account Kit
[AppsUP] Collection of Integration Cases for Map Kit
[AppsUP] Collection of Integration Cases for Push Kit
If you want to know other cases about this kit, let your comment below or ask your questions in HUAWEI Developer Forum.

Quick App Introduction

Definition
Quick apps are a new form of installation-free apps developed based on industry standards. They are developed based on the frontend technology stack and support native rendering, therefore possessing the advantages of both HTML5 apps and native apps. Users do not need to install quick apps and only need to tap them open and enjoy the same experience and performance as native apps.
Advantages
Low Costs
You can use JavaScript and CSS to develop quick apps, reducing the code amount to 20% of that required for developing native Android apps providing the same functions. In addition, you can convert existing HTML5 apps into quick apps quickly
Native Experience
The native rendering technology enables quick apps to provide functions and experience of native Android apps, but requires less memory space and can be updated automatically.
High Retention
Users can tap to use quick apps without installation, add a quick app to their home screen if they want to use it later, and access a used quick app again from entries such as recently used apps or push notifications.
Easy Access
Your quick apps can be distributed to various channels such as AppGallery, Quick App Center, deep links, and HUAWEI Assistant, effectively improving your app exposure.
Usage Process
Find: Find quick apps on AppGallery, HUAWEI Assistant, Global Search, and more.
Open: Tap to open a quick app instantly without installation. Quick apps support automatic update and take up minimum storage.
Use: Enjoy the smooth interaction, stylish UI, comprehensive functions, and optimal performance of quick apps.
Leave: Access a used quick app again by adding it to the home screen or through recently used apps or push notifications.
Quick App Development
Tool
Huawei provides you with a complete set of development tools to develop and debug your quick apps.
HUAWEI Quick App IDE: A one-stop quick app development tool that is built based on the VSCode framework. It provides a complete set of easy-to-use features and capabilities, such as project management, programming, real-time preview, inspection, debugging, cloud test and release, helping you maximize your productivity.
Installing Huawei Quick App IDE Quick App IDE User Guide
Huawei Quick App Loader: Use it to launch and debug quick apps.
Installing Huawei Quick App Loader
Huawei Quick App PC Assistant: Use it to load quick apps to multiple terminals, testing cards, and hap links.
Installing Huawei Quick App PC Assistant PC Assistant Operation Guide
Integration with Huawei Open Capabilities
HUAWEI Quick App allows you to integrate the following capabilities of HMS Core to your quick app:
HUAWEI Account Kit allows you to offer simple, secure, and quick sign-in and authorization functions.
Accessing HUAWEI Account Kit
HUAWEI In-App Purchases allows you to implement the in-app payment function only by simple integration, helping you gain more revenue quickly.
Accessing HUAWEI In-App Purchases
HUAWEI Push Kit allows your app to push messages to users at the right moment. You can send messages to your users through your apps in real time. This helps you maintain closer ties with your users and increases user awareness and engagement.
Accessing HUAWEI Push Kit
HUAWEI Location Kit enables your app to quickly and accurately obtain user locations.
Accessing HUAWEI Location Kit
Thank you very much
Thank You
Very interesting
Are Quick Apps the same as PWAs?

Improve the Purchase Rate of Your E-commerce App's Users

Do you suffer from low retention and repurchase rates for new users and a lack of effective channels to reach users?
With the rapid development of the e-commerce industry, it is inevitable that you will face such challenges in your app's operations. But now thanks to Push Kit, we can provide you with an app message push solution that will help you accurately reach and retain users.
1. Precisely Segmenting Users by Tag to Find the Right Users for Each Product
Push Kit provides an audience segmentation function that allows you to select target users by attribute and behavior for differentiated message pushing. Taking baby products as an example. With this function, you can filter for users within a specific age range who have browsed baby products before, and then push messages about the release of new baby products to such users. On top of that, the topic subscription function from Push Kit enables you to send product release messages to users who have subscribed to the pre-sales reminder topic.
2. Pushing Messages by Time Zone and Language to Facilitate Global App Operations
To help you manage your cross-border business operations, you can push messages to users around the world at the same time or according to their local time, and set message content in different languages. Push Kit can also help you push messages to users in real time even if your app is not currently open or running in the background on the users' devices, ensuring the timeliness of your push messages.
3. Triggering Automatic Message Push for Multiple Shopping Scenarios
In the near feature, Push Kit will release an automated notification function that will automatically push messages to users according to various triggers, such as marketing events, shopping cart reminders, and product discount reminders, effectively helping you reduce your operations costs.
In addition to the preceding functions, we are continuously optimizing the app integration process in the following ways:
1. Quick app integration: With the assistance of HMS Toolkit, you can drag and drop device-side code to achieve integration in as little as half a working day.
2. Quick app server integration: You can reference and use sample code in six different programming languages.
We also have dedicated technical support personnel on standby to solve your integration problems.
If you encounter any problems while using the service or have any questions, you can send logs and submit tickets online so that our support personnel can provide you with assistance. You can also join our dedicated section on Stack Overflow.
HUAWEI Push Kit Official Website.

Analytics Kit 6.3.0: More Industries, More Reports

To provide you with a wealth of industry knowledge that helps digitalize your business, Analytics Kit 6.3.0 comes with reports on more industries.
Here's what's new:
l Added reports on four more industries, including securities, travel, language training, and exercise and health, as well as corresponding event tracking templates, for you to achieve precise operations.
l Added the page path analysis model, for you to quickly locate abnormal churn nodes.
l Added the function of viewing analysis reports using the AppGallery Connect app, for you to analyze data through a mobile device anytime and anywhere.
l Added SDKs for HarmonyOS and WeChat mini-programs, for you to analyze data in various scenarios.
l Added the event mapping capability to the intelligent data access function, for you to map custom events to predefined events.
Four More Industry Reports for Comprehensive Data Analysis
Analytics Kit 6.3.0 unlocks industry reports on securities, travel, exercise and health, and language training, which can be viewed through simple event tracking configuration using templates.
Securities industry analysis reports: They display your app's operations status from multiple aspects including data overview, trading, and news. By focusing on user experience and preferences, they can help you design marketing strategies for target users and scenarios.
Travel industry analysis reports: To help you boost the usage frequency and user stickiness of your app, they provide data indicators related to travel and hotel, so that you can offer one-stop services for a better user experience.
Exercise and health industry analysis reports: Consisting of data overview, payment analysis, behavior analysis, and community and after-sales data, they present comprehensive data to inform you of users' exercise habits and requirements, so that you can improve your app to enhance users' stickiness as well as willingness to pay, making your business unique and competitive.
Language training industry analysis reports: By displaying user preferences from various dimensions throughout the user lifecycle, they can help you identify what actions can be taken to drive business growth.
2. Page Path Analysis Model, for Key Insights into User Behavior
Analytics Kit 6.3.0 has added the page path analysis model, which takes each page as a conversion node. By focusing on abnormal pages with high churn rates, path analysis can deepen your understanding of user requirements for page redirection.
3. Data Analysis Reports at Your Service Anytime and Anywhere
You can view various data analysis reports through the AppGallery Connect app on mobile devices. As the data on mobile devices is synchronized with that on the web page, and displayed in a proper manner through adaptation, you can view data anytime and anywhere to detect abnormalities and formulate targeted plans.
4. SDKs for HarmonyOS and WeChat Mini-Programs, for Data Analysis on More Mobile Devices
By integrating the SDKs for HarmonyOS and WeChat mini-programs, you can analyze data for a range of scenarios. If your apps in the same project apply to multiple platforms, you can filter data by platform for a general overview of your project or detailed data of a specific app. You can also compare the user behavior of different platforms and apps with the comparison capability.
5. Event Mapping, Streamlining the Event Tracking Configuration
Intelligent data access has added the event mapping capability, allowing you to map custom events to predefined events of Analytics Kit, streamlining the event tracking configuration.
In addition, Analytics Kit 6.3.0 has optimized modules such as Event analysis, Audience analysis, and Intelligent data access, to support smoother data analysis.
To learn more about the updates, refer to the version change history. Click here to get the free trial for the demo, or visit our official website to access the development documents for Android, iOS, Web, Quick App, HarmonyOS, and WeChat Mini-Program.
Does it give domain-specific data?
Basavaraj.navi said:
Does it give domain-specific data?
Click to expand...
Click to collapse
Hi~
At present, we provide industry reports for different industries.Which domain-specific data are you referring to?

[FAQs] Applying for Health Kit Scopes

HMS Core Health Kit unlocks atomic data for developers. After obtaining user consent, your app will then be able to read, add, modify, or delete users' health and activity data by calling Health Kit APIs. To begin with, you will need to first apply for test scopes from Health Kit, to access this data before your app is released. Here I have listed some problems that I have encountered during the application, as well as their solutions. I hope you find this helpful.
After I send an application to Health Kit, how long will it take for my application to be reviewed?​The review takes about 15 workdays, and you will be notified of the result via SMS and email. If your application is rejected, modify your materials according to the feedback, and then submit your application again. The second review will take another 15 working days. Please check your materials carefully so that your application can pass the review as soon as possible.
Can I apply for accessing Health Kit as an individual developer?​According to the privacy policy, individual developers can apply for accessing Health Kit to read/write basic user data (such as step count, calories, and distance) if your app is intended for short-term research, development, and testing purposes. But please note the following:
During application, you have to specify when your project or testing ends. Relevant personnel will revoke the scopes in due time.
You do not have access to advanced user data (such as heart rate, sleep, blood pressure, blood glucose, SpO2, and other health data).
After your application and personal credit investigations have been reviewed, only the first 100 users will be able to access the Health Kit service that your app integrates.
This restriction cannot be removed by applying for verification.
This can only be removed by applying for the HUAWEI ID service again, registering as an enterprise developer, and then applying for Health Kit service.
What is different between the data scopes opened to enterprise developers and individual developers?​The following lists the respective data scopes available for individual and enterprise developers.
Individual developers: height, weight, step count, distance, calories, medium- and high-intensity, altitude, activity record summary, activity record details (speed, cadence, exercise heart rate, altitude, running form, jump, power, and resistance), personal information (gender, date of birth, height, and weight) and real-time activity data.
Enterprise developers: In addition to the basic data scopes opened to individual developers, enterprise developers also have access to location data and the following advanced data: heart rate, stress, sleep, blood glucose, blood pressure, SpO2, body temperature, ECG, VO2 max, reproductive health, real-time heart data, and device information.
What are the requirements for enterprise developers to access Health Kit?​If you only apply for accessing basic user data, the paid-up capital of your company must be larger than or equal to CNY 1 million; if you apply for accessing advanced user data, the paid-up capital of your company must be larger than or equal to CNY 5 million. What's more, Huawei will take your company's year of establishment and associated risks into consideration.
If you have any questions, contact [email protected] for assistance.
What are the requirements for filling in the application materials?​Specific requirements are as follows:
Fill in every sheet marked with "Mandatory".
In the Data Usage sheet, specify each data read/write scope you are going to apply for, and make sure that these scopes are the same as the actual scopes to be displayed and granted by users in your app.
What does it mean if the applicant is inconsistent?​The developer name used for real-name verification on HUAWEI Developers must be the same as that of the entity operating the app. Please verify that the developer name is consistent when applying for the test scopes. Otherwise, your application will be rejected.
What should I do if my application was rejected because of incorrect logo usage?​Make sure that your app uses the Huawei Health logo in compliance with HUAWEI Health Guideline. You can click here to download the guideline and the logo in PNG format.
Please stay tuned for the latest HUAWEI Developers news and download the latest resources.
Why can't I find user data after my application has been approved?​Due to data caching, do not perform the test until 24 hours after the test scopes have been granted.
If the problem persists, troubleshoot by referring to Error Code.
References​HMS Core Health Kit
Development Guide
More FAQs About Accessing Health Kit

Categories

Resources