Connect with us

HarmonyOS

HarmonyOS phone and other development including DevEco Studio 2.1 beta 3 released

Published

on


Huawei DevEco Studio is an all-in integrated development environment for Huawei’s full scenario and multiple devices, providing developers with project template creation, development compilation, debugging, end to end HarmonyOS application development services such as testing and publishing them on the store.

Previously, Huawei already released two DevEco Studio beta versions that brought lots of new changes, improvements, and features, which help out the developers in improving the innovation productivity.

Now, Huawei has started delivering one more beta for developers, DevEco Studio 2.1 Beta 3. With the latest changelog, the company introduced new features including a two-preview function, data simulation function, and much more.

New Beta version:

  • Huawei DevEco Studio 2.1 Beta 3

What’s in this update:

  • The previewer adds a two-way preview function
  • The previewer adds the data simulation function of the Java UI interface
  • The editor adds config.json visual configuration function
  • The editor has a new resource creation wizard function
  • New Java testing framework
  • Added 5 new phone project templates
  • Optimizations for existing features

Take a look at new changes in detail:

1. The previewer adds a two-way preview function

At the time of HarmonyOS application development, the developers need to click “Previewer” to view the application’s UI interface effect. When the developer finds that the layout display of the UI interface does not meet expectations (eg: the width of the control does not meet the set value, the control is not displayed, etc.), so it is necessary to check the layout or control abnormality in the UI interface one by one.

Advertisement

In order to improve the efficiency of development, DevEco Studio 2.1 Beta 3 unlocks the two-way preview function on the basis of the existing “real-time preview” and “dynamic preview”.

  • Real-time preview: As long as the modified source code is saved in the layout file, the layout effect can be viewed in real-time in the previewer.
  • Dynamic preview: In the previewer interface, you can operate the interactive actions of the application in the previewer, such as click events, jumps, and slides, which are consistent with the interactive experience of the application running on a real device.

The so-called two-way preview is to support the linkage between the code editor and the previewer interface (including the property list), which is convenient for quickly positioning the control, thereby improving the efficiency of solving UI interface problems. Developers can open the two-way preview function by clicking on the icon on the previewer interface.

The specific linkage effects are as follows:

  1. After modifying the attribute or style through the attribute list in the previewer interface, the source code in the code editor will be modified synchronously, and the previewer interface will be refreshed in real-time.
  2. Similarly, if you modify the source code in the code editor, the previewer interface and attribute list will be refreshed in real-time.

2.The previewer adds the data simulation function of the Java UI interface

In the preview scene, because the code running environment is different from the running environment on the real device, a valid return value cannot be obtained when calling some interfaces. If developers want to make different UI interface displays based on the return value, they need to manually modify the code logic repeatedly to verify the effects of different UI interfaces.

Advertisement

In order to reduce the modification, DevEco Studio provides PreviewMock data simulation function, that is, without changing the business operation logic, simulate the return value of various methods in the API or business code (excluding the construction method) and the Field in the object (not including final field). In this way, the developer can view the interface changes brought about by different return values ​​during the preview.

However, it is worth mentioning that DevEco Studio 2.1 Beta 3 currently only supports the PreviewMock data simulation function of the Java UI interface. At the same time, if you want to use the PreviewMock data simulation function, you need to add related dependencies in the module’s build.gradle, and resynchronize the project.

In addition to the above features, in the preview of the Java UI interface, when the developer previews Ability or AbilitySlice, save the modified code to achieve real-time preview; in the preview of the JS UI interface, the developer can directly select a certain A page (page) for real-time dynamic preview.

3. The editor adds config.json visual configuration function

Advertisement

As an introductory player in HarmonyOS application development, do you repeatedly consult the documentation on the HarmonyOS official website in order to understand the meaning of the configuration items? In order to reduce the behavior of developers repeatedly switching the interface to look up data and documents, DevEco Studio 2.1 Beta 3 has added a new visual configuration function.

Developers can open the config.json file and click the button to open the settings interface to view the important attributes and their meanings that need to be filled in the project and improve the configuration of application name, application version number, application type, ability, device type, application permissions, etc. item.

However, during the development process, there may be scenarios with too many levels of configuration items, for example: when configuring the “Module ›Ablilities› Meta Data ›Merge Rule› Replace” field, the user can quickly locate the attribute through the search box and click the add button, Enter the relevant merge rules, trigger the system to automatically create a tree structure of configuration items in the config.json file, complete the configuration of the merge rules, and save configuration time.

4. The editor has a new resource creation wizard function

Advertisement

When creating a resource catalog with qualifiers, developers need to consider the value of the qualifiers, the order in which different qualifiers match each other, etc. A slight deviation will cause HarmonyOS to fail to detect suitable resources when the application is running. Unable to show the expected effect.

In order to reduce the chance of errors when developers create resource directories with qualifiers, DevEco Studio 2.1 Beta 3 adds a new resource creation wizard function. Users can select or input according to the interface prompts to complete the creation of resource directories and files without thinking. The combination of various qualifiers.

5. New Java testing framework

In order to reduce the tedious manual testing process, DevEco Studio 2.1 Beta3 adds a new Java testing framework, providing white-box testing capabilities for Java code, helping developers to efficiently write and execute test cases, and to ensure the basic quality of applications.

Advertisement

In the development stage, developers can use the IAbilityDelegator provided by the Java testing framework to perform APP component manipulation tests (such as starting/closing FA, obtaining interface UI elements, injecting UI click events, etc.) to discover UI interaction problems in time. Or use the JUnit 4 syntax paradigm to write test cases, call system interfaces, obtain API return values ​​or trigger business processes, and judge the correctness of business logic based on interface return values ​​or business status.

Prerequisites for the Java testing framework to run on a real machine or remote simulator device:

  1. The remote simulator needs to register a developer account and complete real-name authentication
  2. The real device must be equipped with HarmonyOS operating system, debug mode should be turned on, and the corresponding signature file should be provided.

6. Added 5 new phone project templates 

DevEco Studio supports seven devices: Phone, Tablet, Car, Smart Screen (TV), Smart Wearable, Lightweight Smart Wearable (Lite Wearable), and Smart Vision. HarmonyOS application development supports Java, JS, and C/C++ programming languages.

In order to facilitate the use of developers, DevEco Studio provides ability templates for multiple device types and different development languages. In this new version, on the original basis, 5 new mobile phone (Phone) project templates are added, and there are currently 19 mobile phones (Phone) project templates. Developers can select appropriate templates according to the project wizard, easily create projects suitable for all types of equipment, and automatically generate corresponding code and resource templates.

Advertisement

7. Additional optimizations

  1. Upgrade IntelliJ IDEA base to IntelliJ IDEA CommunityEdition 2020.2.4 version (warm reminder: due to base upgrade, developers need to manually upgrade unavailable third-party plug-ins to avoid incompatibility with installed third-party plug-ins)
  2. In the debugging phase, the developer can set the installation method of the hap package. If you choose to overwrite the installation, the cached data in the installed application will be retained, and there is no need to reinstall the application and then rebuild the relevant data, which is convenient for debugging.
  3. Solved the problem of slow or failed downloading of Node.js by some developers. By integrating Node.js and pre-installing the npm warehouse of Huawei’s public cloud, the time to build a HarmonyOS application development environment is further shortened.
  4. It has been adapted to support macOS 11.2.2 version.
  5. Solved the problem that the drawable resources in XML cannot be associated.

(Via – ithome)

Most of Deng Li's smartphones are from the Huawei ecosystem and his first Huawei phone was Ascend Mate 2 (4G). As a tech enthusiast, he keeps exploring new technologies and inspects them closely. Apart from the technology world, he takes care of his garden.

HarmonyOS

HarmonyOS multi-window feature rolling out for Huawei MatePad SE

Published

on

Huawei MatePad SE May 2022 update

Recently, Huawei launched the budget-friendly device MatePad SE for its consumers, and now the device is receiving its first software update with the May 2022 security patch. Alongside, the update has some new tweaks for the users that will bring more ease in accomplishing day-to-day tasks.

Huawei MatePad SE packs the latest HarmonyOS 2.0 interface. Hence, it already has a bunch of customizations for the users. Besides, the unique layout with a 10.1-inch FHD display and 7.0 sound effect, gives a perfect framework to the device.

Coming back to the topic, Huawei MatePad SE May 2022 update lands on the HarmonyOS interface with version 2.0.0.111, upgraded from 2.0.0.103. Further, the update is accessible to the device carrying the model number AGS3K-W20.

The latest HarmonyOS update brings the May 2022 security patch. Apart from the security improvements, the update adds the smart multi-window feature. As a result, users will find a bunch of new tugs and gestures with a better security system.

Advertisement

Huawei MatePad SE May 2022 update

What is the Smart Multi-Window feature?

As the name reflects, the feature lets you work on multiple windows on one screen. Moreover, it lets you perform special gestures that make device performance more efficient. For instance, swipe and drag options, access to floating windows, quick minimize and maximize functions, and more.

Full Changelog:

New: Smart Multi-Window 

  • Swipe inward from both sides of the screen to pause
  • Call out function for the side application bar
  • Long press and drag the application to open the split-screen immediately
  • New gestures that allow the opening of a floating window with just one click on the application
  • Now users can reply to instant messages through the floating window while watching videos or playing games
  • Addition of a feature to quickly minimize the window and hide it in the floating wall

Security Patch

  • Incorporates the May 2022 security patch that enhances the system security and increases the stability of the device

Huawei MatePad SE May 2022 update

If you want to send us Tips, Update Screenshots, or a Message? connect with us here:

  • Screenshots@huaweicentral.com
  • Tips@huaweicentral.com
  • Message us on Twitter

|| Source ||

Advertisement
Continue Reading

HarmonyOS

Huawei June 2022 update brings security improvements for Enjoy 20 5G phones

Published

on

Huawei Enjoy 20 June 2022 update

Huawei’s latest smartphones have already received the June 2022 security patch, so the company is now turning its attention to the entry-level models. Currently, the 5G variant Huawei Enjoy 20 is getting the June 2022 security update.

The June 2022 HarmonyOS update is rolling out in the home market for the respective device users. It has a firmware number 2.0.0.235 which is upgraded from the previous HarmonyOS build. Hence, to install the update, users must have their devices running on the 2.0.0.234 version.

Software receiving models

The following models are eligible to grab the fresh HarmonyOS update:

  • Huawei Enjoy 20 5G (WKG-AN00)
  • Huawei Enjoy 20 5G (WKG-TN00)

So Huawei Enjoy 20 users! Do you know what new fixes arrive with the June 2022 security patch?

Huawei fixes a bunch of CVEs including video framework, system section, fingerprint sensor modules, and design defects with the latest June 2022 security patch. On the other hand, the firmware also fixes third-party library exploits, found in the last version.

Advertisement

Huawei Enjoy 20 June 2022 update

Thus, we suggest users install the update as soon as it appears on the notifications through the OTA medium. Apart from waiting for OTA, users can download the software through the Settings menu of the smartphone.

Before you upgrade, we recommend checking the battery level as well as the storage space of the device. Besides, users must take a backup of all the important files to another device.

Since the update might have a huge package, users must conduct the installation process under a stable Wi-Fi connection. Users may experience overheating or freezing of the device after the upgrade, this happens due to self-optimization and is completely normal.

Huawei Enjoy 20 June 2022 Update Changelog:

  • Version updates from 2.0.0.234 to 2.0.0.235
  • Security: Installs a new security patch released in June 2022 that enhances the system’s stability.

If you want to send us Tips, Update Screenshots, or a Message? connect with us here:

  • Screenshots@huaweicentral.com
  • Tips@huaweicentral.com
  • Message us on Twitter

|| Source ||

Advertisement
Continue Reading

HarmonyOS

Huawei HarmonyOS June 2022 Updates List

Published

on

huawei harmonyos june 2022

Huawei developed HarmonyOS for many devices that come with various features, especially smartphones, tablets, and smartwatches. As we are in June 2022, the company is sending a bunch of HarmonyOS updates for Huawei devices and we’re here to explore them in a single archive.

Similar to EMUI, HarmonyOS has its own software rollout plan and security patch bulletin. Although Huawei has kept HarmonyOS limited to the Chinese market, the company sends monthly and quarterly HarmonyOS security firmware via the OTA medium. Moreover, these updates bring security, optimizations, and system improvements for the consumers.

HarmonyOS 3.0:

Meanwhile, Huawei is preparing to launch HarmonyOS 3.0 with lots of improvements in terms of performance. Version 3.0 seeming brings you platform stability optimizations as compared to HarmonyOS 2.0. Although Huawei has not confirmed the rollout date for the public smartphone users, we’re expecting the company to start HarmonyOS 3.0 beta soon enough for the Chinese models.

huawei harmonyos june 2022

HarmonyOS updates:

Aside from these, the Huawei HarmonyOS June 2022 update archive will give you the best coverage over all of the rollouts that will occur throughout the month ad you can see them below.

Advertisement

Updates:

June 27, 2022:

Huawei Mate X2 foldable smartphone users have started collecting the June 2022 security update. The update is rolling out as HarmonyOS 2.0.0.247 with updated security patches.

June 25, 2022:

Honor 9X series which consists of the standard 9X model and the Pro variant is finally receiving the May 2022 security update.

Advertisement

June 24, 2022:

The 5G Capable smartphone – Huawei Enjoy 20 Plus has started grabbing a new software update that integrates the June 2022 security patch. The firmware is carrying the latest HarmonyOS version 2.0.0.234. Read More

June 13, 2022:

Huawei has released the latest HarmonyOS update for the standard Mate Xs smartphone. The update appears as 2.0.0.236 with better stability for the device.

Advertisement

June 11, 2022:

Huawei Nova 7 and 7 Pro (5G variants) begin collecting the May 2022 HarmonyOS update. The new update mends the security system and optimizes it with better stability.

June 10, 2022:

A new HarmonyOS 2.0.0.234 update is approaching the Huawei Nova 8 SE Vitality Edition. Besides new improvements, the update incorporates the May 2022 security patch.

Advertisement

Huawei Watch GT 3 Pro June 2022 update started rolling out in Europe. The update arrives with some new changes and innovations for the device.

June 9, 2022:

Huawei MatePad 10.4 receives the latest HarmonyOS update that lands on the device surface with a bunch of eye-catching features.

June 7, 2022:

Advertisement

June 2022 HarmonyOS update is rolling out for the Huawei Watch GT 3. Along with several new features and optimizes, the update is appearing as 2.1.0.362.

June 6, 2022:

Huawei is sending the April 2022 update for the MatePad Pro 12.6 tablet consumers residing in Europe.

June 5, 2022:

Advertisement

The 6 years old Huawei Mate 9 series is getting a new feature update. This update is rolling out on the surface of HarmonyOS. Check out the new features Here

June 4, 2022:

Huawei Enjoy Z 5G smartphone users are getting the May 2022 HarmonyOS security update. Read More

Huawei HarmonyOS software update with May 2022 security patch goes live for the Enjoy 20 Pro 5G users. The new patch brings finer optimizations for the internal system.

Advertisement

Huawei Nova 7 SE 5G Lohas Edition obtains the May 2022 security patch with HarmonyOS software update.

Huawei has started rolling out the May 2022 HarmonyOS update for Honor V30 and V30 Pro smartphone users. The patch ultimately prevents latency and boosts the device’s performance.

Huawei Nova 7 SE 5G Vitality Edition smartphone users can now install the latest May 2022 security patch with the latest HarmonyOS update.

Huawei Mate X2 has begun receiving a new HarmonyOS software update that accompanies the May 2022 security patch.

Advertisement

Huawei has released the May 2022 HarmonyOS update for the P40 series. Currently, the update is rolling out in the Chinese market with version 2.0.0.241.

June 2, 2022:

Huawei P10 series gains a new feature update that arrives on the HarmonyOS platform. The update appears with a bunch of additions for Display, Games, Communication, Systems, and Security. Read More

June 1, 2022:

Advertisement

Huawei Watch 3 is receiving a new HarmonyOS software update with version 2.1.0.236 version. This update comes with new watch face improvements, car key features, and optimizations for a number of system features including audio, stability, and more.

Continue Reading