Do things together? Huawei Hongmeng releases code development tool: emulator

During the Huawei HDC2021 developer conference, Huawei announced the arrival of the HarmonyOS local emulator.

This kind of simulator is an important tool for developers to develop and debug code. Previously, it was only provided by remote simulators, which was inconvenient to use and had certain requirements for network speed.

The HarmonyOS local emulator launched by Huawei can be used on a personal computer without the need for a dedicated test machine. The product has been launched in major mobile phone categories at the end of October, and smart watches and smart screen categories will be launched in succession.

According to the official demo video, this simulator provides convenient application installation functions, and supports application debugging, data injection and other functions.

Local emulator highlights features:

(1) Local operation, real machine performance

The local emulator runs directly on the user's local PC, does not require login authorization, has zero delay, and is not limited by the duration of use, and has the same performance as the real machine. Users can create their own emulators on the emulator management device according to the type of hardware they need. For example, by selecting the mobile phone category of the emulator, users can adjust parameters such as the resolution, screen size, and pixel density of the mobile emulator.

(2) Device simulation, all-around simulation

A complete application debugging environment is inseparable from various hardware and driver devices. The launch of the local emulator makes up for this shortcoming for HarmonyOS developers. The local simulator provides a variety of general device simulations such as audio, battery, location, etc., providing developers with a running environment that is close to the real machine.

In addition, the local simulator also provides product-specific simulations for Huawei devices, such as the rotation and pressing function keys of smart watches, and the remote control simulation of smart screens.

(3) Data injection, fast and convenient

The local simulator provides a separate data injection page for developers to operate on specific sensors. As shown in the figure below, the right window is the operation window for virtual sensor simulation, and the user can set parameters for the specified sensor on the right side as needed.

(4) Application debugging, support for multiple languages

The local emulator also supports Java, JS, C/C++ single-language debugging and JS+Java cross-language debugging capabilities, helping developers to debug applications more conveniently and efficiently.

The HarmonyOS remote emulator also has several new features. This kind of emulator is divided into single device emulator and super terminal emulator, and the update content is as follows:

1. Added "folding screen" to the single-device simulator

The single-device simulator already supports five major product categories: mobile phones, PADs, smart screens, smart watches, and folding screens. The car category will be launched in Q1 next year, and the folding screen has been launched in DevEco Studio 3.0.0.601 version. Friends who want to use the folding screen for early adopters can finally arrange it. Let’s take a look at the steps and effects of using the folding screen~

As shown in the figure below, after logging in to the remote simulator, you can see the newly added Mate X2 5G device, click to run the device.

After clicking Run, the unfolding and folding effects of the folding screen are as follows:

2. Added "Mobile + Smart Screen" to HyperTerminal Simulator

How to adapt a single application to a variety of terminals, developers may face many problems, such as:

There are many categories: mobile phones, smart watches, smart screens, car machines, etc.

High cost: For individual developers, the price of equipment is high, which cannot be afforded by individual developers.

High networking threshold: Even if there are multiple devices, it is difficult to interact with each other, and physical networking is time-consuming and labor-intensive.

Data closure: At the same time, the data of each device is not interconnected or shared.

In response to the above problems, we provide developers with a hyperterminal simulator, which allows developers to achieve multi-device joint networking at zero cost and zero threshold. The upgrade of the HyperTerminal emulator has added a mobile phone + smart screen. At present, we have realized three combinations of mobile phone + mobile phone, mobile phone + smart screen, mobile phone + PAD. Let's take a look at the highlights of the new category~

(1) Highlight features of HyperTerminal emulator:

Support distributed file management (such as cross-device file access), distributed task scheduling (such as cross-device task pull), and distributed data management (such as cross-device data transmission).

Support FA pull-up and flow, cross-device application debugging and interactive operations. One-click flow, easy interaction.

There is no need to configure and log in an account, and the operation is simple.

(2) Use steps and effects of mobile phone + smart screen

As shown in the figure below, you can see the mobile phone + smart screen device in the HyperTerminal device.

For more details about the HarmonyOS simulator, you can refer to the official website: Click to open

————— Original: Lao Wang丨[Public Account: Hongmeng Developer Laowang] Huawei Certified Instructor / Tencent Certified Instructor / Hongmeng Development Pioneer

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324361692&siteId=291194637