Introduction
In this article, we will learn the following:
What are Quick game?
Feature and advantage of Quick game.
Development procedure.
Installing development tools.
What are Quick Game?
In simple Quick Game are new form of installation free applications. Definitely you will have question what is installation free application right? Basically Quick game you don’t need to install it like we do other android apps. Usually we install apps from Huawei AppGallery or Google play store. But Quick game does not require to install. Directly start using it. Quick Game apps developed based on industry standards formulated by Quick App Alliance, which consists of mainstream mobile phone manufacturers in China. A quick game can be distributed to all mobile phones that supports industry standards without adaptation. To make you clear, check the below example.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Feature and advantage of Quick game
Lower cost: JavaScript and CSS are used for development, and quick games have only 1/5 code of their Android native apps.
Premium experience: The native rendering technology enables quick games to provide functions and experience of native Android apps, but requires less memory space and can be updated automatically.
High retention rate: Quick games are installation-free, support tap-to-use, and can be added to the home screen, enhancing the user retention rate.
Development procedure
Let’s understand what the procedure to develop the Quick Game.
Follow the steps:
Understanding: First understand what quick game is and how it works. Now we have learnt what Quick game is in introduction section.
Preparation: There are couple of preparation need to develop the Quick Game. Let us understand what those preparation are. We will learn in details in upcoming parts.
Step 1: First you need to register as developer to develop quick game. Register here if you are already a developer ignore this step.
Step 2: Create Quick game application AppGallery console.
Step 3: Install development tools. Required tools are follows:
Install Huawei Quick IDE.
Install Quick App loader apk in phone.
Install Quick App PC assistant.
Step 4: Generate and configure a fingerprint certificate.
Step 5: Enable HMS core services.
Development: Develop Quick Game using HMS core services. Integrate HMS game service, IAP, Account and Push Kit in the application.
Packaging: Once your Quick game development is done just package it to RPK. (Don’t be tensed what is RPK it is just an extension for Quick Apps like APK for android).
Release: Once all above steps are done, now last part of the Quick game is release. Release it in the AppGallery.
Prepare qualification file.
Clearly understand Huawei review guideline.
Apply for release Quick game.
Installing development tools
Required tools to develop the Quick Game as follows.
Huawei Quick App IDE
Quick App PC Assistant
Quick App loader
Download all the tools from below links and install it in your desktop or laptop.
ToolsWindowsMacHuawei Quick App IDEDownload exe fileDownload dmg fileQuick App PC assistantDownload Quick App PC Assistant exe fileDownload Quick App PC Assistant dmg fileHuawei Quick App LoaderDownload Quick App loader apkNA
Refer here for more details about installation
Understand more about Quick App IDE
Now let us create a hello world application in the Quick App IDE.
After installing the Quick App IDE, just open it. It looks like below image.
1. Open recent: You can open recently created project.
2. New Project: You can create new project here.
3. Quick App: From new project, select Quick App to create Quick app application.
4. Import project: You can import already existing project. There are two types of project you can import. HTML5 App and HTML5 Game.
5. Open Project: You can open project from the specific path.
Now create new project.
Result
Get all the logs from Quick App PC assistant.
Tips and Tricks
Understand About Quick Game.
Explore some Quick Game from phone.
Install all the required tools.
Make sure you have configured the adb in the desktop or laptop.
Command to install Quick App loader APK
adb install quickapploader.apkCopy code
Conclusion
In this article, we have learnt the What Quick Game is, feature and advantages of Quick app games, steps involved development procedure, installing required tools and one hello world application. By this conclude all the Quick App set up is done. In next part of the article I’ll come up with different concept of Quick Game.
Reference
Quick Game official document
Download tools from here
thanks for sharing!!
Related
This article is originally from HUAWEI Developer Foum
Forum link: https://forums.developer.huawei.com/forumPortal/en/home
What is the Quick APP ?
Quick apps are different from HTML5 apps. A quick app has its own development standards and runs based on the Quick App Center. However, quick apps support HTML5 web page loading through the web component. In this way, HTML5 apps can be converted into quick apps quickly.
Quick apps are installation-free apps. At least four major Chinese manufacturers are set to deploy quick apps globally within 6 months. Quick apps support all H5 apps, all H5 games, 90% of app categories, and 90% of game categories.
Note : This article shows that how can HTML5 apps be converted into quick app.
Advantages of Quick App
Low development costs: JS/CSS: 20% of the code for an Android app
Native experience: Native GUI, and ability to access device functions
High retention: Easily added to the home screen and found
End-to-end experience
Find: Quick apps can be found from AppGallery, HiBoard, and HiSearch.
Open: Quick apps open instantly and can be used without being installed. They can update automatically and take up minimum storage.
Use: Quick apps run smoothly on user devices, provide friendly GUIs and excellent functionalities.
Leave: Once closed, they can be -easily from the home screen icon, recently used apps, and Push notifications
Quick App Project Structure
Quick App project structure is basic like other frontend technologies. We can develop Quick app with Javascript,html and css .If you want to look details of Structure, you can visit this page: Details
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Manifest.json specifies the project configuration information, like name, package name, version, pages etc.
App.ux specifies public resource scripts.
UX files describe pages and components.
Huawei Quick App Ide
Huawei quick app IDE provides a complete set of capabilities that span from app development, building, debugging and testing to release. It also provides templates for different services, such as news and media, reading, food delivery, e-commerce, and early childhood education.
For details of User Guide, click here
How can we install Quick App?
We have to install Node JS
After İnstalling Node JS, we can download and install quick App IDE that Huawei provides for Windows and Mac.
Huawei Quick App Loader
We need to Quick App loader to start and debug on our mobile phone.
For this reason we need to install Huawei Quick App Loader and install it manually.
Huawei Quick App Pc Assistant
Huawei Quick App PC Assistant supports loading quick apps to multiple terminals and testing cards and hap links. After the PC Assistant is installed on the PC, you can test the functions of the quick app without using the IDE
You can download all Installation Package link
Example : Convert an H5 app into a Quick App
There are two conversion methods in Huawei Quick App.
Online Conversion : You only need to perform related configurations in AppGallery Connect. Then AppGallery Connect will automatically convert your HTML5 app into a quick app and submit it for review
Offline Conversion : You need to perform the conversion using Huawei Quick App IDE. The generated quick app package will be submitted for review.
In this article's topic online conversion and example shows that how can we convert an H5 app into a Quick App.
Online conversion
First of All we have to create quick app project whose template is HTML5 App.
Create or select an app inside AppGallery. Console > Huawei AppGallery followed this way.If there is no project, click Add project. In the displayed dialog box, enter the project name to create a project. Alternatively, click the project card to which you want to add an app.
Add app on the top of the Project Setting page
Note: We must Quick App as platform.
App and Package name is related our project.
App category includes two section
App : non-game apps (Our example is non game apps )
Game : game apps
After created Application we set app information that includes introduction, brief Introduction, app icon etc. and save all definition.
SHA-256 certificate fingerprint must be created and enter related area inside developer tab.
Note:We can follow Tools >Certificate path to generate certificate fingerprint in Quick App ide
Next step we have to specify link that is converted into a Quick App. For this reason we follow myApps > Project > Distribute > Version Information >Draft path.
We create RPK file in Software Version Area then click Generate RPK based on HTML5 page URL button. RPK file must be created to use in Huawei Quick App Pc Assistant.
-After click this button open under page and fill related area.
Finally Download RPK file from download link.
e can test using Huawei Quick App. You can visit to learn details this link
As you see after conversion operation , our conversion was occured successfully. Short video show us it.
Designed to inspire more interactions by bringing users a convenient tap-to-use solution, Quick Apps offer the same experience as native apps but require much less memory space
Remember the time when you had to download an app just to use it that one time to try out the new pizza place in your neighbourhood, before realising that it was a disappointing experience? Or when you had to wait a long time for an app to be updated before you can enjoy new functions that your friends are already using? How about when you were made to download an app which you’d only use once a month to pay for your mobile phone credits, or worse, not sure when you would use the app again because you were on an extended year-end vacation and had to top up credits for data roaming?
With Huawei Quick Apps, you can say goodbye to those notifications that pop up to remind you to delete certain apps because you haven’t used them for months. The raison d'être for Huawei Quick Apps – bring an unprecedented level of convenience, yet at the same time address the diverse needs of Huawei device users in the 5G era.
So what are Quick Apps?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
In short, they are apps you can use on-the-fly; no installation needed. With Quick Apps, Huawei users worldwide can enjoy the smooth interaction and beautiful interfaces of the native app experience without having to download these apps.
Not only does it save you from busting your data roaming allowance trying to download a local taxi booking app while on vacation, Quick Apps also save the memory space on your Huawei smartphone.
Written with only 1/5 amount of codes as compared to that of native apps, you can accommodate more than 2,000 Quick Apps with just 1GB of space. What’s more, because of how lightweight Quick Apps are, they are more responsive, and they are automatically updated, offering an excellent Huawei experience that’s second to none.
How to access Quick Apps?
There are several ways you can choose to access available Quick Apps. The best way is to add Quick App Centre to the home screen of your Huawei smartphone and directly activate it with a single touch going forward.
Go to “AppGallery” on your home screen.
In the search box at the top of the screen, type “Quick App Centre”, then click “Open”.
On the top right-hand corner of the Quick App Centre screen, you’d see a “Settings” icon. Click on that icon.
Select the option “Add to home screen”. You’ll see a pop-up notification which says, “Shortcut for Quick App Centre created on your home screen”. Voila!
Alternatively, you can open AppGallery and search for “Quick App Centre”. Once you do that, you can then search for the Quick App you want. After using the Quick App, you can even choose to leave it as a desktop icon on the main screen of your Huawei smartphone for added convenience.
What Quick Apps are available?
As of January 2020, there are over 1,700 quick apps available on-shelf worldwide. These Quick Apps are by no means inferior in any shape or form as compared to native apps; they support all HTML5 apps and HTML5 games, covering 90% of apps and games categories.
The growing list of renowned global-brand Quick Apps includes the following – covering food delivery, banking & bills management, TV & movie digital services – to name just a few.
Talabat: Get access to over thousands of delivery restaurants in Middle East straight from your smartphone.
NAVITIME: Take advantage of the complex subways and buses in Japan for the first time to ride.
Etihad Airways: Flight bookings, online check-ins and more from the second-largest airline and the flag carrier of the UAE.
2048 Charm: Best puzzle game to kill time while waiting for the dentist.
What’s next for Quick Apps?
The arrival of Quick Apps comes as part of Huawei’s continued commitment to optimising user experience, efficiency and innovation. In line with Huawei’s “1+8+N” strategy, Quick Apps provide users with an innovative all-scenario experience. Quick Apps support different screen sizes such as with smart wearables, mobile phones, tablets and smart screens.
Today, a range of both local and global Quick Apps are being rolled out on an ongoing basis. If you’re not seeing your favourite apps available as a Quick App yet, do ***stay tune for in time to come, they will be!
To view the latest selection of available Quick Apps, visit AppGallery. For more information, visit https://consumer.huawei.com/
Credit to Amber @Huawei Developer Forum
It's actaully a good news. And I heard HUAWEI Developer Forum recently which is very nice to beginners.
Freemind R said:
It's actaully a good news. And I heard HUAWEI Developer Forum recently which is very nice to beginners.
Click to expand...
Click to collapse
Exactly!
you can ask anything you want to know about thier HMS or apps development and get answers there , and loads of tips for optimization and monitazation of your apps.
Overview
In this article, I will create a demo game and integrate Huawei Analytics Kit. A developer can keep keen eyes on application usages and easily track the events such as installation and other custom events.
Service Introduction
Analytics Kit collects a user’s activity and usage of an application so that developer can analyze the user’s behaviour based on the app event.
Analytics Kit offers a rich array of preset analytics models (Event, Behaviour, Audience, Funnel, Retention, Real-Time) that help you to gain an in-depth insight into your users, products, and content. With this insight, you can then take a data-driven approach to make informed decisions for product and marketing optimizations.
HUAWEI Analytics Kit identifies users and collects statistics on users by an anonymous application identifier (AAID). The AAID is reset in the following scenarios:
1) Uninstall or reinstall the app.
2) The user clears the app data.
After the AAID is reset, the user will be counted as a new user.
There are 3 types of events: Automatically collected, predefined, and custom.
Automatically collected events are collected from the moment you enable the kit in your code. Event IDs are already reserved by HUAWEI Analytics Kit and cannot be reused.
Predefined events include their own Event IDs which are predefined by the HMS Core Analytics SDK based on common application scenarios. The ID of a custom event cannot be the same as a predefined event’s ID. If so, you will create a predefined event instead of a custom event.
Custom events are the events that you can create for your own requirements.
Prerequisite
1. Unity Engine (Installed in the system)
2. Huawei phone
3. Visual Studio 2019
4. Android SDK & NDK (Build and Run)
Integration process
1. Sign In and Create or Choose a project on AppGallery Connect portal.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. Navigate to Project settings and download the configuration file.
3. Enable Analytics Kit from Manage APIs section.
Game Development
1. Create a new game in Unity.
2. Now add game components and let us start game development.
3. Download HMS Unity Plugin from below site.
https://github.com/EvilMindDevs/hms-unity-plugin/releases
4. Open Unity Engine and import the downloaded HMS Plugin.
Choose Assets > Import Package> Custom Package
5. Choose Huawei > App Gallery.
6. Provide the AppId and other details from agconnect-service.json file and click configure Manifest.
For more, you can check https://forums.developer.huawei.com/forumPortal/en/topic/0204447943331070086
Event tracking is a technology for collecting and processing user behavior data or events, and is widely used for user behavior analysis and data processing. It helps product managers, operations personnel, and data analysts to precisely collect and analyze user behavior data, create user profiles, as well as analyze and optimize products. However, manual event tracking has high requirements in terms of technical skills, as well as requiring a huge workload and a long development period.
The visual event tracking function of Dynamic Tag Management (DTM) was created to deal with such issues. DTM provides multiple solutions for tracking visual events of web pages: common visual event tracking, tag template-based visual event tracking, and visual event tracking by HUAWEI Analytics.
This article will illustrate how to use common visual event tracking.
Prerequisites1. You have created an AppGallery Connect account and signed in to it by visiting the following URL address, click here
2. You have created a web app and its DTM configuration.
3. You have created your website and integrated the DTM configuration script into it. To integrate the DTM configuration script, perform the following:
a. Click the Configuration tab and then View in the DTM portal.
b. Copy the code snippet below and paste it to the top of the <head> section of each web page to track, so that the code snippet takes effect in a timely manner.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Common Visual Event TrackingA visual event can be used as the trigger condition for reporting events to multiple third-party analytics platforms. This is applicable to scenarios where visual events and parameters need to be adjusted flexibly.
1.1 Accessing the Visual Event Tracking Page 1. Click the Visual event tab in the DTM portal.
2. Click Start on the page displayed.
1.2 Adding Visual Events 1. On the Add visual event page displayed, click Add on the right.
2. Select Button or link under Select element for visual event addition. (This option is selected by default.)
3. Select the Detail button under HUAWEI Mate Series on the left page.
Click OK in the displayed dialog box asking you whether to select elements of the same type.
4. Configure visual event information.
a. Enter a visual event name.
b. Click the hand icon, select HUAWEI Mate Xs, and enter a parameter name to add a visual event parameter.
c. Set Triggered on to Specified pages, and add the URL rule URL Equals https://XXXXXX.XXX.
5. Click OK to save the visual event.
6. Click the
icon on the right of a visual event to expand it.
7. Click the
icon in the upper left corner to exit the visual event tracking page.
1.3 Adding a Tag 1. Click the Tag tab.
2. Select a tag extension template, and set Trigger condition to MateSeriesView.
3. Click OK.
4. Click Save.
1.4 Creating and Releasing a Version 1. Click Create on the Version tab page.
2. On the Create version page, enter a version name and description.
3. Select Create and release version.
4. Click OK.
1.5 Triggering a Visual Event 1. Refresh the tested website and download the latest DTM configuration.
Note: By default, the DTM JavaScript SDK downloads the latest DTM configuration to the cache every 15 minutes. To download the latest DTM configuration immediately, disable the browser cache and refresh the tested website again.
2. Click any Detail button under HUAWEI Mate Series.
3. View reported data on the specified third-party analytics platform.
To learn more about DTM, click here.
For more details, you can go to:
Reddit to join our developer discussion
GitHub to download demos and sample codes
Stack Overflow to solve any integration problems
Original Source
The Cloud Debugging and Cloud Testing services provided by HMS Toolkit allow developers to debug and test apps on a wide selection of remote real devices before releasing apps on HUAWEI AppGallery. Such devices are located in special testing centers throughout the world, including in China, Western Europe, the Asia-Pacific region, and Russia. Let's take a look at Cloud Debugging and Cloud Testing in more detail.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1. Cloud Debugging: enables you to test your app's integration of HMS Core's open capabilities on the latest Huawei devices, and view your app running in real time in the integrated development environment (IDE). Its features include:
Step-by-step debugging: allows you to quickly locate bugs and other issues as your app is run on remote real devices.
Remote adb debugging: allows you to run the adb command to perform in-depth debugging on remote real devices.
Logcat support: allows you to view debug logs in the IDE Logcat window to identify problems during debugging.
Screen zoom and resolution switching: allows you to zoom in and out of app screens freely and switch resolution between smooth, SD, and HD according to your needs.
Quick file upload: allows you to upload files to remote devices by simple click and drag.
Horizontal and vertical screen switching: allows you to switch the screen on remote devices between horizontal and vertical orientation at the touch of a button.
2. Cloud Testing: provides you with the following automated app testing and report generation services.
Four app test categories: These are divided into compatibility tests, stability tests, performance tests, and power consumption tests, and allow you to comprehensively test your app on Huawei devices during app installation, release, uninstallation, and normal use.
Standardized reports: These reports display the details of each test item and allow you to view screenshots of all test operations to help you quickly detect problems.
3. HMS Toolkit
HMS Toolkit is an IDE plugin, which helps developers integrate HMS Core services and capabilities into their apps at a lower cost and with higher efficiency in Android Studio. HMS Toolkit comes equipped with the following features: Configuration Wizard, Coding Assistant, Convertor, Cloud Debugging, Cloud Testing, and Quality Analysis.
Easy installation:
1. Open Android Studio, go to File > Settings > Plugins > Marketplace, enter HMS in the search box, and click Install.
2. Sign in to the HUAWEI Developers official website to download and install the plugin.
For more information, please read the following documentation.
For more details, you can go to:
Reddit to join our developer discussion
GitHub to download demos and sample codes
Stack Overflow to solve any integration problems
Original Source
I have a question, the phones used for debugging are rooted?