This article I will work with you to build hongmeng development environment and realize a HelloWorld.
Setting up the development environment
First we need to install Deveco-Studio. The download address is:
As with the installation process of Android-Studio, you need to download the necessary SDK. It is recommended to go online scientifically.
Once the installation is complete, open the IDE and select a new project:
As you can see, we can now create Phone, Table, Car, TV, Wearable, LiteWearable and SmartVision apps.
After selecting the Phone app, there are also several templates to choose from. Selecting Empty Feature Ablity(JAVA), Deveco-Studio automatically generated a HelloWorld template for us.
Since there is no mobile device that can support Hongmeng at present, we have to build a simulator. Huawei has prepared a variety of remote simulators for us to test this time:
To develop Tools-> HVD Manager, we need to log in huawei account, we can choose simulator:
The overall feeling
- As an Android developer, it’s pretty easy to get started, and pretty much the same as Android Studio
- The result is an HAP file, similar to an APK file for Android
- For remote simulators, it’s amazing