Connect with us

HarmonyOS

Huawei released DevEco Studio 2.1 Beta 2 with six major changes for HarmonyOS service development

Published

on


DevEco is Huawei’s integrated development environment (IDE) that provides templates for developers to create, develop, compile, debug, test, and deploy E2E HarmonyOS application development services.

On December 16, 2020, Huawei released the HarmonyOS 2.0 mobile developer beta version and simultaneously opens the enrollment of some devices for beta testing. With the help of DevEco Studio, developers can more efficiently innovate and develop the application with distributed HarmonyOS open capabilities

Now, Huawei has begun sending the new version for DevEco Studio that brings a number of new features and improvements, which help out developers and enhance the innovation efficiency.

According to the new changes, DevEco Studio 2.1 Beta 2 (Windows+Mac version) has supported the preview of the Java UI interface and the JS UI interface, provides security testing, automation testing, improves the editor capabilities, and more.

Advertisement

In the last update of DevEco Studio 2.0 Beta 1, the company added new support for the Ubuntu platform, NVP, Realtek, Xradio chip, and added HDF driver as well as allows the graphical download of HPM source code.

Related: Huawei DevEco Device Tool 2.0 Beta 1 for HarmonyOS 2.0 released with new features and improvements

New version:

  • Huawei DevEco device tool receiving new build 2.0 Beta 2

Changelog:

  • Mac version complete Java UI preview
  • Added 5 mobile phone project templates
  • Visualization of debugging variables for JS and C/C++
  • Provide application security testing services
  • Provide application automation testing services
  • Enhance editor capabilities

Check the changes in detail below:

Mac version complete Java UI preview

DevEco Studio 2.1 Beta 2 (Windows+Mac version) for JS applications, supports six device types: mobile phones, tablets, smart screens, smart wearables, lightweight smart wearables, and smart vision. For Java applications, it supports mobile phones, tablets, and cars, smart screens, and smart wearable devices.

Regarding the JS UI layout, developers can dynamically preview in real-time in the previewer after writing the code in HTML/CSS/JS. The UI display effect is the same as when the application is running on a real machine. For Java UI layout, developers can experience dynamic preview when previewing AbilitySlice.java or Ability.java file and preview XML layout file to experience real-time preview.

Advertisement

In addition, the development of distributed applications must meet the screen resolution, shape, and size requirements of different devices. In order to facilitate developers to view the UI layout and interaction effects of the application on different devices at any time during the application development process, DevEco Studio provides a cross-device preview function.

Added 5 mobile phone project templates

In order to facilitate the use of developers, DevEco Studio 2.0 provides Ability templates for multiple device types and different development languages. It adds 5 new phone project templates on the original basis. Developers can select appropriate templates according to the project wizard, easily create projects suitable for various devices, and automatically generate corresponding Code and resource templates.

Visualization of debugging variables for JS and C/C++

Advertisement

Aiming at pain points such as long code processing flow and deep error concealment, DevEco Studio 2.1 Beta 2 uses Plain (tree), Line (line graph), Bar (bar graph), and Table during JS or C/C++ code debugging. (Table), etc., quickly display the data structure, data continuous change curve, and the relationship between the data during the debugging process, and provide functions such as query filtering and sorting of the visual data, which is convenient for developers to locate problems simply, intuitively, quickly and effectively.

Provide application security testing services

By integrating the capabilities of the Huawei DevEco Services cloud service platform, DevEco Studio 2.1 Beta 2 provides application security testing services for HarmonyOS applications. Currently, it mainly supports two functions: vulnerability testing and privacy testing. For each test task, the test is fully automated without manual intervention, and professional and detailed test reports are issued quickly to detect and identify possible security issues in the application development process in advance so that the developed HarmonyOS application can better meet the application requirements of the market.

Vulnerability testing: Through the HarmonyOS application life cycle modeling and application attack surface modeling, static data flow analysis technology is used to improve the accuracy of vulnerability discovery while covering more than 20 attack surfaces and 65 + vulnerability test items to help developers in advance Discover and identify potential vulnerabilities. The vulnerability detection report will give clear repair suggestions for each vulnerability risk item to help developers quickly repair vulnerabilities. The vulnerability testing service supports Java applications, and the package format includes Hap/App.

Advertisement

Privacy detection: By dynamically detecting and analyzing the privacy-sensitive behavior of the application running on the device, it helps developers to troubleshoot the malicious behavior of the application and build a pure and green HarmonyOS application. The privacy test supports 17 + detections, including detection of obtaining geographic location information, detection of obtaining device identification, detection of obtaining address book information, detection of obtaining system information, etc. The privacy test service currently supports Java applications for TV devices, and the package format includes Hap/App.

Provide application automation testing services

In addition to application security testing services, DevEco Studio 2.1 Beta 2 also adds application automation testing services, including application compatibility, stability, and performance testing, to detect possible applications in the entire life cycle of installation, startup, operation, and uninstallation as well as check the application quality in all directions.

Compatibility test: Mainly verify the compatibility issues of the HarmonyOS application running on Huawei’s real device, including the first installation, reinstallation, startup, uninstallation, crash, black and white screen, flashback, operation error, failure to rollback, and top ten UI abnormalities Abnormal scene. The compatibility test supports Java/JS applications for TV and Lite Wearable devices. The package format supported by TV is Hap/App; the package format supported by LiteWearable is App.

Advertisement

Stability test: Mainly verify the stability issues of the HarmonyOS application running on Huawei’s real device, including crash/application freeze screen, memory leak, and memory stepping. The stability test supports Java/JS applications of TV devices, and the package format includes Hap/App.

Performance test: Mainly verify the performance problems of the HarmonyOS application running on Huawei’s real device, including startup time, interface display, CPU usage, and memory usage. The performance test supports Java/JS applications of TV devices, and the package format includes Hap/App.

Enhanced editor capabilities

Development and application are like building a house. There are many factors that determine the quality of a house, but the foundation is one of the important factors. The editor is to the development tool as the foundation is to the house. A good editor can make developers do more with less. DevEco Studio supports the development of HarmonyOS applications in multiple languages, including Java, JS, and C/C++.

Advertisement

For the C/C++ editor, DevEco Studio 2.1 Beta2 has made four enhancements:

  1. Enhanced code completion function. In the writing application stage, the editor will analyze the context and understand the content of the project. According to the content entered by the developer, it will prompt the developer to complete the names of classes, methods, fields, and keywords, which greatly improves the coding efficiency.
  2. For the names and variables of the macro definition, as well as the preprocessing path and prefix, developers are supported to customize the highlight color of their code, which is convenient for developers to distinguish different codes by color.
  3. Support function jump from definition to the declaration. When the code realizes the jump, the listed results will be distinguished by file name and display key code information.
  4. Supports viewing of documents of display types, methods, functions, parameters, etc., which is convenient for developers to read the code.

For the JS editor, DevEco Studio 2.1 Beta 2 has made three optimizations:

  1. The code completion function is enhanced, which is manifested in import optimization, suffix completion, and enhancement of annotation capabilities.
  2. Code grammar enhancement: support ES6 grammar, Emmet grammar, and Media Query conditional rules to automatically complete.
  3. Code checking enhancement: duplicate variable and unused variable checking; automatic strikethrough display of referenced obsolete symbols, obsolete symbols can be marked by @deprecated in JS doc comments; support for spell checking of JS, HTML, CSS codes, etc.

For the XML editor, DevEco Studio 2.1 Beta 2 has made two enhancements:

  1. For the resources in the predefined JSON/XML, it can dynamically associate and jump in real-time.
  2. In the XML layout file, use the <databind> tag to realize the dynamic data binding function between java and XML.

For the Java editor:

DevEco Studio 2.1 Beta 2 can modify the references in the config.json configuration file when reconstructing the project directory structure or Java class names. After many optimizations, the editor function of DevEco Studio 2.1 Beta 2 is becoming more and more perfect. The majority of developers can improve coding efficiency by mastering various common skills in code writing during the application phase.

In addition to the above six functions, DevEco Studio 2.1 Beta 2 also solves three major user pain points:

  1. Solved the problem of slow Gradle download during project synchronization. The new version integrates the Gradle tool so that developers no longer need to download the Gradle tool separately.
  2. Added to view the preview log, you can view the log information during the preview process, and also support the switch between Chinese and English.
  3. Solved the problem that the simulator does not support the display of the WebView control.

[Via- ithome]

Advertisement

Yash is a graduate of computer science and followed his way into journalism, he is interested in various subjects related to technologies and politics. Yash likes to listen classical songs and has a huge library of classical mixes.

HarmonyOS

Huawei P50 is getting HarmonyOS 2.0.1.233 upgrade

Published

on

By

huawei p50 harmonyos 2.0.1.233

The standard Huawei P50 is now receiving HarmonyOS 2.0.1.233 software update in China. This update primarily optimizes system stability to make the flagship run smother and execute tasks on time. Huawei P50 users are recommended to install this software update as soon as it arrives.

This is another software update that Huawei is rolling out to improve this flagship device and deliver better to the consumers. However, the phone is only available for the Chinese market and Huawei P50 Pro has already on sale in the overseas market.

Coming to the details, Huawei P50 HarmonyOS 2.0.1.233 software update could be downloaded by visiting Settings > System & updates > then tap on the Software update section, followed by the check for updates button. From here let the phone check for the available firmware version and fetch them down for you.

huawei p50 harmonyos 2.0.1.233

Be mentioned, Huawei P50 Pro in the global market comes with EMUI 12 software, which on the other hand, runs solely on HarmonyOS in China. According to previous details, Huawei P50 series phones could be the first ones to test HarmonyOS 3.0, when it comes out.

Advertisement

Talking about the standard Huawei P50, the phone features a flat panel display, and a powerful camera system consisting of two large circles to house the cameras. While the design of the phone remains intriguing in all aspects. The P50 is powered by Qualcomm Snapdragon 888 chipset but only with 4G connectivity.

(via – Huawei)

Continue Reading

HarmonyOS

Huawei FreeBuds Pro is testing HarmonyOS 2.0

Published

on

By

huawei freebuds pro harmonyos

It’s reported that one of the most popular smart audio devices – Huawei FreeBuds Pro is now testing HarmonyOS 2.0 operating system. A screenshot coming from a Chinese consumer shows a FreeBuds Pro firmware upgrade with the HarmonyOS build version.

According to the screenshot, version 2.1.0.576 is under testing with beta features and the update only has an OTA size of 2.89MB. The update has a big changelog. However, the Huawei support representative has a different angle on this matter, the representative is unaware of this firmware version and reveals that the latest Huawei FreeBuds Pro software version is 1.0.0.566.

huawei freebuds pro harmonyos

Huawei Audio Service Widget:

After opening the Control Panel, you’ll find the audio control center, which will help you to quickly switch between multiple devices with one tap.

The latest feature is supported by the following devices:

Advertisement
  • FreeBuds 4
  • FreeBuds 4E
  • FreeBuds Pro
  • FreeBuds Lipstick
  • FreeBuds Studio
  • Smart Glasses

Here’s how to update your FreeBuds Pro:

Connet your FreeBuds Pro devices to a HarmonyOS powered by, then open Huawei AppGallery, then tap on My, and then on Update management. From here tap on Audio Manager and Smart Life App. Tap on an update to update the application.

To update the latest Audio service on your phone’s home screen visit Settings > Bluetooth Settings and then tap on Audio Services, followed by Add to Home Screen option.

(via – ithome)

Continue Reading

HarmonyOS

HarmonyOS 3.0 will come for global Huawei smartphones?

Published

on

By

HarmonyOS 3 global

Huawei has its fully-owned operating system – HarmonyOS, which offers a bunch of new features in comparison to the EMUI software. The operating system was designed to work across different platforms including an extra edge of functionality in smartphone devices. In the current scenario, the Chinese tech maker is pursuing the HarmonyOS 2.0 version and continuously enhancing it by releasing new software update versions.

Now, Huawei is planning to reveal the next version of the HarmonyOS operating system – HarmonyOS 3.0. This new version will surely come up with some advanced features for smartphones, tablets, smartwatches, and other adapted platforms. However, it was also reported that the upcoming Mate 50 series could arrive with a pre-installed HarmonyOS 3.0.

At Huawei Developer Conference (HDC), the Chinese tech maker announced HarmonyOS 3.0. Although, the tech firm has not revealed any specific details on the user interface but we’re aware that Huawei has focused on the performance part this time and wants to rollout this software version on most of the devices.

Currently, Huawei has not announced the rollout of HarmonyOS 3.0 or its testing but the developer preview roadmap of this software suggests that it could come somewhere in July. Still, a confirmation is awaited.

Advertisement

HarmonyOS 3 global

Huawei HarmonyOS 3.0 for global users:

Meanwhile, many consumers of Huawei devices asked us, whether Huawei is planning to launch HarmonyOS 3.0 for the global Huawei smartphone owners? To answer that, we should look at some facts that have appeared previously on the ground.

Huawei currently treats HarmonyOS 2.0 as the Chinese consumer-based operating system, especially for smartphones. The company has told us in a statement that it has no plans to roll this out to global smartphone users and continues to push EMUI as the lead smartphone software.

Meanwhile, Huawei consumers are taking on EMUI 12 as their prime operating system and receiving it via OTA software update. Looking at the fact that HarmonyOS 2.0 is not coming to the global market, Huawei has made some changes in the core EMUI user interface and brought it much closer to its Chinese counterpart.

Advertisement

However, confirmation is still awaited on whether HarmonyOS 3.0 will come for global consumers.

So what do you think, HarmonyOS 3.0 will come for the global consumers? Let us know via the poll below.

Advertisement
Continue Reading