The operating logic of Hongmeng system is basically the same as that of Android. It is no different from the Android system. Is it just a shell of the Android system?
Why are so many people still debating whether it is an Android case or not? This is not unrelated to Hongmeng’s early “excessive” propaganda of “completely independent research and development”.
The second is the shortcomings of Hongmeng’s ecological environment. Indeed, when Huawei first developed the Hongmeng system, in order to enhance ecological compatibility and accelerate ecological construction, it adopted some Google open source code.
But with the arrival of Hongmeng 5.0, these topics will end.
Completely remove the “boxed Android” label
It has been 4 years since the release of HarmonyOS. Today, the number of Huawei devices equipped with HarmonyOS has reached 320 million. Hongmeng Zhilian has more than 2,200 partners and has shipped more than 250 million products.
Moreover, Huawei also announced that it will launch Hongmeng 5.0 next year and completely break away from Android code.
As soon as this news came out, major manufacturers such as Meituan also cooperated with Huawei and opened recruitment positions for Hongmeng. These business leaders have sensed that the Hongmeng era is coming and are taking the opportunity to reserve talents in this area.
With the development of Hongmeng ecology, Hongmeng development has become a new trend of the times. It is imperative to learn from Hongmeng development.
How to learn Hongmeng
The best time to plant a tree was ten years ago, followed by now. Considering that there are no systematic introductory materials on the market, I compiled a "Hongmeng Zero Basics Beginner's Study Guide", hoping to help those who want to learn Hongmeng, but is there anyone in the direction who can provide a little help? This document is suitable for beginners in HarmonyOS application development (due to the excessive content of the document, in order to avoid affecting everyone’s reading experience, only part of the content is shown in screenshots. There is a free way to obtain the detailed full version at the end of the article!)
"Hongmeng Zero Basics Beginner's Study Guide"
Table of contents
1. Quick Start
Suitable for beginners in HarmonyOS application development. By building a simple application with page jump/return function, you can quickly understand the main files of the project directory and become familiar with the HarmonyOS application development process.
- Development preparation
- basic concept
- Tool preparation
- Building the first ArkTS application (Stage model)
- Build the first ArkTS application (FA model)
- Build the first JS application (FA model)
2. Development of basic knowledge
- Application package basics
- Application package overview
- Application package structure
- Application package multi-HAP mechanism
- Application package installation and uninstallation process
- Application package update process
- Shared package
- Application package quick fix
- Application configuration file (Stage model)
- Application Profile Overview (Stage Model)
- app.json5 configuration file
- module.json5 configuration file
- Application Profile Overview (FA Model)
- Application Profile Overview (FA Model)
- app object internal structure
- deviceConfig internal structure
- module object internal structure
3. Resource classification and access
During application development, resources such as colors, fonts, spacing, and pictures are often used. The values of these resources may be different in different devices or configurations.
- Resource classification and access
- Resource classification
- Resource directory
- Resource group directory
- Create resource directories and resource files
- Create resource directories and resource files
- Create resource directory
- Create resource files
- resource access
- Application resources
- system resource
- Resource matching
4. Learn ArkTs language
ArkTS is the preferred main application development language of HarmonyOS. ArkTS has further expanded on the TypeScript (referred to as TS) ecosystem around application development. It inherits all the features of TS and is a superset of TS. Therefore, before learning the ArkTS language, it is recommended that developers have TS language development capabilities.
- First introduction to ArkTS language
- basic grammar
- Basic syntax overview
- Declarative UI description
- Custom component
- Status management
- Other status management
- Additional state management overview
- @Watch decorator: state variable change notification
- $$ syntax: two-way synchronization of built-in components
- Rendering controls
- Rendering controls overview
- if/else: conditional rendering
- ForEach: Loop rendering
- LazyForEach: Lazy loading of data
Scan the QR code below to get free "Hongmeng 5.0 Zero Basics Beginner's Study Guide"