“This article has participated in the good Article call order campaign, click to view:Back end, big front end double track submission, 20,000 yuan prize pool for you to challenge!”

📖 directory

  • Abstract
  • If you don’t want to see some nonsense, you can skip it
  • Huawei Hongmeng OS 2.0 is officially open source
  • Let’s start
  • Development and application section
    • TV equipment application
    • Download simulator
  • conclusion

📖 the

Share today — with hongmengHarmonyOS DevEco StudioCreate a project run"Hello world"! Some basic knowledge, welcome to pay attention!

👏 Some nonsense don’t want to see can directly skip

The importance of the site and the setting

Shooting 🏹 needs to go to the range to learn, skiing 🏂 needs to go to the snow resort to experience, driving 🚗 needs to be able to practice on the road, and programming development can not only complete the functional process of the product, but also need to ensure the reliable performance of the system. As you can hear some of the system monitoring metrics; QPS, TPS, TP99, TP999, availability, response time, etc., and the sum of these indicators is the health of a system. But if you’ve barely heard the technical terms and haven’t been exposed to such scenarios, it’s a lot like getting 100 points on subject 1 of a driving license, but not on the road. Without such technical scenarios to train you to continuously experience the temperament of the system, no matter how many ideas you have, you won’t be able to achieve it. So, if you really want to learn, you have to go to a real scene, try the water to learn to doggy paddle.

How big your blind spots are

The same book, the same road, the same city, do you really think that life has a choice (no ~ life’s choices are not so many twists and turns)? Sometimes a lot of options are just a chore, and given multiple chances you’ll always choose the same thing. It’s not whether you choose or not it’s your cognitive range that determines what you do in the next second, and the next second determines the next second and the next second. Just like a glimpse of the leopard, 20% of the area in your vision is black, or even ignore to see, and this can not see 20% is the luck of life! However, people can learn, can grow, can be transformed, can work hard, through a metamorphosis to see the remaining 20%!

Just like the people who love the locomotive: holding the throttle torch, this life is not a locomotive life! — You can, too, live up to the life of an ape with a keyboard torch in your hand, just kidding. Let’s get to the point


🌂 Huawei Hongmeng OS 2.0 is officially open source

Here’s the source address for Hongmon: openharmony.gitee.com


✨ begin

  1. Official website: www.harmonyos.com The first Internet search is not official is three

  2. IDE download location:

  • The compiler source code download: device.harmonyos.com/cn/ide

  • The development and application of download: developer.harmonyos.com/cn/develop/…

  1. Source location:

Device.harmonyos.com/cn/docs/sta…


🎇 Application development

  1. Installation will be prompted to startDownload the SDK, click cancel, searchSDK, re-customizeSDKThe path.

Appearance –> System… –> HarmonyOS SDK

I have installed all the SDKS, check it and it will download automatically.

  1. Created project

Click Create Project and see that there are now three types of support

TV equipment application

This is a Wearable app

Lite is a Wearable app

Create a TV project (Java), select a list template.

Select Create:

Create:

Download Gradle-5.4.1-all. zip automatically to the default location

View location:

It should be able to download right away

The grade source has been correctly switched to Huawei domestic

Download simulator

Click ok to download (download speed is slightly slower here, download failed clickdownloadagainContinue to download the estimated download too many people, failed twice)

After refreshing:

Use your huawei account to log in (note that the license may fail if you use Chrome by default. Use the Windows browser to log in).

Authorization:

Authorization succeeded:

Agreement:

Here’s a list of available simulators:

The TV simulator is started

Run it and you’ll see the emulator

Running the simulator successfully

Hongmeng’s first experience comes down to development tools andAndroid studioThere is little difference in the operating habits ofAPIandroidThe system is slightly different. Welcome to try something new.

Finally, thank you for your patience to watch the end, leaving a “like” collection is your greatest encouragement to me!


🎉 epilogue

  • Like the little friend of the blogger can add a concern, point a like oh, continue to update hey hey!