Connect with us

Huawei News

Huawei DevEco Studio 2.2 Beta 2 released, SDK API 6 too

picture-1

Published

on

Huawei DevEco Studio 2.2 Beta 2

Huawei has released a new version of DevEco Studio 2.2 Beta 2, with many new and enhanced features. At the same time, HarmonyOS SDK API6 Beta was officially upgraded to release after a round of iterations.

Upgrade Info:

Open the installed historical version of DevEco Studio and select “Help> Check for Updates” to upgrade.

Download directly from the HarmonyOS official website:

https://developer.harmonyos.com/cn/develop/deveco-studio
Huawei DevEco Studio (referred DevEco Studio) to develop HarmonyOS applications and atomic service one-stop integrated development environment (IDE), providing a template for developers to create projects, development , Compile, debug, release and other functions.

Advertisement

1. New template market
In order to meet the development needs of multiple devices and multiple scenarios, DevEco Studio provides a wealth of engineering templates, covering mobile phones, tablets, car machines, smart screens, smart wearables, lightweight smart wearables, and smart vision. The project wizard easily creates projects suitable for all types of equipment, and automatically generates corresponding codes and resource templates.

This time the 2.2 Beta2 version, a new template market MarketPlace is added. The built-in templates in DevEco Studio only retain the basic business templates, and more templates will be launched to MarketPlace. Developers can go to MarketPlace to download more business templates they need.

Specific usage method:

1. Select “File> New> New Project” in DevEco Studio to enter the Create Project Wizard window, as shown in Figure 1.

Huawei DevEco Studio 2.2 Beta 2- 1

Figure 1 Create a project

Advertisement

2. Click “Template Market” in Figure 1 to enter the MarketPlace as shown in Figure 2 and download the template.

Huawei DevEco Studio 2.2 Beta 2- market

Figure 2 DevEco MarketPlace Resource Center

Second, the previewer adds custom functions
If you want to preview the interface effect during the development stage, you can use the previewer Previewer. In the previous version, Previewer only supported a few fixed-size canvases, which could not meet the needs of different screen resolutions.

In this version of 2.2 Beta2, Previewer has added a custom Profile Manager, which supports developers to customize the preview device Profile. You can set different resolution canvases and different languages ​​to view the preview display of HarmonyOS applications or atomic services on different devices. Effect. At the same time, Profile Manager also instantiated some common device types, including P40, Mate X2, MatePad pro, X1 car, Watch3.

Specific usage method:

Advertisement

After customizing the preview device in Profile Manager, click the preview device in Previewer to view the preview display effect of the HarmonyOS application or atomic service on the device.

Figure 3 shows the switch profile to view the preview display effect on different devices.

Huawei DevEco Studio 2.2 Beta 2- 3 image

Figure 3 Switch profile

 

Figure 4 shows the Multi-profile preview function, which allows you to view the preview display effects of multiple devices at the same time.

Advertisement

Figure 4 Multi-profile preview

Huawei DevEco Studio 2.2 Beta 2 - 4 image

3. Added support for differentiated distribution of multiple entries on the same device
Because there are many types of devices, the resolution is not uniform, and the versions are different. In response to these differences, the previous DevEco Studio version required developers to adapt and develop different models of the same type of device, and then achieve precise distribution in the application market, so that consumers and users of different devices can get a better experience.

This 2.2 Beta2 version supports adding multiple Entry modules for the same type of device in the same project, and then configure distroFilter distribution rules in the config.json file of each Entry module to meet the differentiated distribution requirements of the same device.

The distroFilter distribution rule configuration code in the config.json file is as follows:

“module”: {… “distroFilter”: {“apiVersion”: {“policy”: “include|exclude” “value”: [5,6,7]}}}

Advertisement

(Swipe left and right to see more)

Four, HarmonyOS SDK API6 Release
HarmonyOS SDK API6 is upgraded to the Release version, the version number is 2.2.0.3, and the supporting compile and build plug-in is 2.4.5.5.

Compared with the previous version, the new version has no additions or changes in the interface content. But for the JS API, some interfaces that are unstable in the API6 Beta version can be used normally in this API6 Release version.

New features

Added template market.

Advertisement

The previewer adds custom functions.

Added support for differentiated distribution of multiple entries on the same device.

Added support for Java and C/C++ cross-language debugging capabilities. Developers can set a breakpoint at any line of code in Java or C/C++, and when the business logic is executed to the corresponding line of code, it can be interrupted at the breakpoint.

The HarmonyOS cloud test service has added power consumption testing capabilities, which can verify the power consumption of HarmonyOS applications and atomic services running on Huawei real devices, including screen occupation time, WLAN occupation time, and audio occupation time.

Enhanced features

Advertisement

In the project creation wizard, some templates support previewing template effects.

The previewer adds the ability to preview the expanded state of the Mate X2 folding screen.

The preview of the service card supports three sizes: Extremely Narrow (Minimum), Standard (Default) and Extremely Wide (Maximum).

JS and Java cross-language debugging supports FeatureAbility subscription scenarios and distributed FA scenarios.

JS debugging capabilities enhanced:

Advertisement

Support Restart Frame (supported by Phone and Tablet devices)

Hover, Inline Values, Set Value and abnormal breakpoint functions (not supported by TV and Wearable devices)

The HarmonyOS application testing framework function supports simultaneous running of Java and JS test tasks in a mixed Java and JS project.

JS/CSS/HML editor ability enhancement:

Support JS/CSS/HML breadcrumb navigation function

Advertisement

Support the automatic completion and jump of the json file field in the HML file in the card template

Support JS file to view code structured view

Fixed problem

Fixed the problem that the auto-completion function is abnormal after entering the value when the attribute value is a numeric attribute in the hml file.

Fixed the problem that the Run window displayed that the package was successfully pushed, but the installation was not successful when the package was pushed to install an unsigned application on the real router device.

Advertisement

Fixed the problem that when using the Wearable real machine and the simulator to run the JS test framework for single-step debugging, you need to click the Resume Program twice to enter the next breakpoint.

Fixed the problem that the time displayed in the preview interface is inconsistent with the time set in the code when previewing the Clock component.

Fixed the problem that in the macOS version, if you did not set a breakpoint in app.js, you could not enter the index.js breakpoint.

Fixed the problem that Wearable and TV debugging does not support ES6 Symbol type.

Fixed the issue that DevEco Studio freezes when opening the xml file in resources.

Advertisement

Fixed the problem that HiLog may not print logs normally.

(Via)

Huawei News

Huawei Mate 70 Air shows up in a promotional photo

picture-1

Published

on

By

Huawei Mate 70 Air

Huawei is getting ready to release a new super-thin phone called the Mate 70 Air. Some details about this phone have already been leaked online, and now a new picture has appeared showing what it looks like.

What the phone looks like

A promotional poster for the Huawei Mate 70 Air was leaked today. The phone looks similar to other phones in Huawei’s Mate 70 family, but it’s much thinner.

The back of the phone has a round camera area with Huawei’s XMAGE camera logo on it. The edges of the phone appear to be shiny and polished. The back cover has a textured surface, similar to another Huawei model called the Mate 70 Pro+.
What’s inside the phone

There isn’t much information available yet, but the Mate 70 Air might be a mid-priced phone. Early reports said it would have 12GB of memory and either 256GB or 512GB of storage space. However, newer information suggests it will actually have 16GB of memory.
The phone is expected to have a large 6.9-inch screen. It will also have a high-quality main camera.

Other features

Advertisement

Unlike Apple’s iPhone Air, the Huawei Mate 70 Air will have a slot for a physical SIM card. The phone will run on Huawei’s HarmonyOS 5.1 software. It will come in three colors: black, white, and gold.
Huawei is expected to launch this phone in November, around the same time as its Mate 80 series.

Continue Reading

Huawei News

Huawei Mate 80 series latest Information

picture-1

Published

on

By

Huawei Mate 80 series

Tipster Digital Chat Station has confirmed that the Chinese tech giant Huawei will release new phones called the Mate 80 series in November. These new phones will have better designs, cameras, and speed.

The company is expected to compete with Apple’s new iPhone 17 phones. Huawei will make four different Mate 80 phones: the regular Mate 80, Mate 80 Pro, Mate 80 Pro+, and Mate 80 RS. Each phone will have different cameras. The regular Mate 80 will have a 50-megapixel camera.

The Pro version will have a bigger 50-megapixel camera. The Pro+ and RS models will have even bigger 50-megapixel cameras.
The Pro model might have a flat screen and face recognition. The Pro+ and RS models might have curved screens that bend more.
The best phone, the Mate 80 RS, might have a 6.9-inch screen with special technology.

This screen should be brighter, use less battery power, and last longer than normal phone screens. Huawei might also use strong titanium metal for the frame and special glass on the back. Inside the phones, there will be a new chip called the Kirin 9030. The battery might be bigger than 6000mAh and charge very fast – 100W with a wire and 80W without wires. The phones might work with 5G internet and satellite communication.

The phones will use Huawei’s own software called HarmonyOS. This might work better with other Huawei devices and have more AI features. Some people think these improvements will help Huawei compete better with Apple, especially in battery life, communication, and smart features.

Advertisement
Continue Reading

Huawei News

Huawei’s Xu Zhijun steps down as chairman

picture-1

Published

on

By

Huawei HiSilicon

A Chinese company called HiSilicon Semiconductor just changed who’s in charge. The old boss, Xu Zhijun, stepped down from his job as the legal representative and chairman. Now the company’s CEO, Gao Ji, is taking over these roles.

Xu has been working at Huawei since 1993 and still has other important jobs there – he’s a vice chairman and sometimes serves as the rotating chairman. Him leaving this position is probably just Huawei moving people around to different jobs within the company.
HiSilicon is completely owned by Huawei and makes computer chips. This change in leadership might mean Huawei is trying to make things work better.

HiSilicon started in October 2004 when Huawei took its computer chip design team and turned it into its own company. The main office is in Shenzhen, but they also have offices in Beijing, Shanghai, and other cities in China.

Continue Reading

Most Popular