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 HarmonyOS Upgrade Plan: Devices and Rollout Time [List]

Published

on

By

The story of HarmonyOS smartphone testing began on December 16, 2020. At this date, Huawei announced HarmonyOS 2.0 Developer beta testing for a number of old flagships. Initially, HarmonyOS become available in the testing range of Huawei developers and industry partners. The HarmonyOS 2.0 developer beta testing slots for models from Huawei P40, Mate 30, and MatePad Pro series devices.

Post recruitment, Huawei selected and processed the developer beta applications and sent the first HarmonyOS 2.0 developer beta OTA update to select testers.

Since beta testing is a staged process, Huawei conducted and released several betas builds to developers. After three months of internal beta flight, in April, the company expanded HarmonyOS beta testing for more devices such as Mate 40 series, Mate X2, and others, labeled under HarmonyOS 2.0 developer open beta.

In the following month, mid-range smartphones – Huawei Nova 6, Nova 7, and Nova 8 lineups also joined the second phase beta activity in the second round of the Developer Open beta.

Advertisement

After 6 months of trials and developer testing, Huawei finally made up its mind of sending HarmonyOS on the consumer version of smartphones and it began on June 2.

On June 2, Huawei officially launched HarmonyOS for smartphone devices, a brand new operating system and a successor of EMUI software system, which was based on Android.

HarmonyOS is surely interesting, isn’t it? But the key interesting thing is, which devices will get HarmonyOS software update and when will it start to rollout? Well, Huawei has shared its official roadmap of upgrading old devices with its operating system and it’s detailed below.

This rollout plan has blown my mind as it covers devices that go up to the year 2016, and it’s absolutely insane and beyond my words. This is surely exciting news for the Huawei consumers and it reflects that Huawei wants to change all of the Huawei devices (launched in the past) on HarmonyOS.

Advertisement

Here, you can check all of the information about the HarmonyOS upgrade plan, timeline, and rollout devices.

Devices that will get HarmonyOS from June 2, 2021:

  • Huawei Mate 40
  • Huawei Mate 40 Pro
  • Huawei Mate 40 Pro+
  • Huawei Mate 40 RS Porsche Design
  • Huawei Mate 40E
  • Huawei Mate X2
  • Huawei P40
  • Huawei P40 4G
  • Huawei P40 Pro
  • Huawei P40 Pro Plus
  • Huawei Mate 30 Pro 4G
  • Huawei Mate 30 Pro 5G
  • Huawei Mate 30E Pro 5G
  • Huawei Mate 30 RS Porsche Design
  • Huawei Mate 30 4G
  • Huawei Mate 30 5G
  • Huawei MatePad Pro WiFi
  • Huawei MatePad Pro 5G

Devices that will get HarmonyOS from the third quarter of 2021:

  • Huawei Mate Xs
  • Huawei Mate 20
  • Huawei Mate 20 Pro
  • Huawei Mate 20 RS Porsche Design
  • Huawei Nova 7 SE 5G
  • Huawei Nova 7 SE 5G Lohas Edition
  • Huawei Nova 7 SE 5G Vitality Edition
  • Huawei Nova 8
  • Huawei Nova 8 Pro
  • Huawei Nova 8 Pro 4G
  • Huawei Nova 7 5G
  • Huawei Nova 7 Pro 5G
  • Huawei Nova 6
  • Huawei Nova 6 5G
  • Huawei Nova 6 SE
  • Huawei MatePad 10.8 inches
  • Huawei MatePad 10.4 inches
  • Huawei MatePad 5G 10.4 inches

Devices that will get HarmonyOS from the fourth quarter of 2021:

  • Huawei Smart Screen V 55 2021
  • Huawei Smart Screen V 65 2021
  • Huawei Smart Screen V 75 2021
  • Huawei Smart Screen V 85 2021
  • Huawei Smart Screen S Pro 55
  • Huawei Smart Screen S Pro 65
  • Huawei Smart Screen S Pro 75
  • Huawei Smart Screen S 55
  • Huawei Smart Screen S 65
  • Huawei Smart Screen S 75
  • Huawei Smart Screen X 65
  • Huawei P30
  • Huawei Mate 20 X 4G
  • Huawei Mate 20 X 5G
  • Huawei Mate X
  • Huawei P30 Pro
  • Huawei Nova 5 Pro
  • Huawei Enjoy 20 Pro 5G
  • Huawei Enjoy Z 5G
  • Huawei Enjoy 20 Plus 5G
  • Huawei Maimang 9
  • Huawei MediaPad M6 10.8-inch
  • Huawei MediaPad M6 8.4-inch
  • Huawei MediaPad M6 Turbo Edition
  • Huawei Enjoy Tablet 2

Devices that will get HarmonyOS from the first half of 2022:

  • Huawei Mate 10
  • Huawei Mate 10 Pro
  • Huawei Mate 10 Porsche Design
  • Huawei Mate RS Porsche Design
  • Huawei P20 Pro
  • Huawei P20
  • Huawei Nova 4
  • Huawei Nova 3
  • Huawei Nova 5i Pro
  • Huawei Nova 5z
  • Huawei Nova 5
  • Huawei Nova 4e
  • Huawei Maimang 8
  • Huawei Enjoy 9S
  • Huawei Nova 5i
  • Huawei Enjoy 10 Plus
  • Huawei Mate 9
  • Huawei Mate 9 Pro
  • Huawei Mate 9 Porsche Design
  • Huawei P10
  • Huawei P10 Plus
  • Huawei Nova 2s
  • Huawei Enjoy 10
  • Huawei Enjoy 10s
  • Huawei Enjoy 9 Plus
  • Huawei Nova 3i
  • Huawei MediaPad M5 10.8 inches
  • Huawei MediaPad M5 8.4 inches
  • Huawei MediaPad M5 Pro 10.8 inches
  • Huawei MediaPad M5 Youth Edition 10.8 inches
  • Huawei MediaPad M5 Youth Edition 8 inches
  • Huawei Enjoy Tablet
  • Huawei Smart Screen V55i
  • Huawei Smart Screen V65i
  • Huawei Smart Screen V 65
  • Huawei Smart Screen V 65 2019
  • Huawei Smart Screen V 76 2019

Note:

  1. This plan will first apply to the Chinese models
  2. This list could be updated
  3. Global Huawei models could differ from the Chinese model
  4. Rollout time for global models could be different

Continue Reading

HarmonyOS

To compete with Operating System rulers, Huawei HarmonyOS must gather domestic support

Published

on

HarmonyOS

China’s ITC or software market level is far behind the US software market. This difference is really big and cant’ be balanced with a single attempt. Many Chinese companies with domestic technologies like Huawei have been squashed by the U.S.

The global chip shortage issue isn’t hidden from any industry and smartphone chips have become the main weakness in the industry. Expertise is still finding the solutions to the problems. However, chip shortage isn’t the only problem, the imposed US sanctions can make the domestic software market and technologies extinct at any time.

Software Market Status:

Moving ahead to the software industry that generally refers to the operating system, including OS, databases, middleware, and programming languages are also stuck. Where the server system is dominating by Linux, the smartphone industry has been captured by American firms such as Apple and Google.

As a matter of fact, a Baidu report reveals that Windows operating system for computers accounts for 89.79% of the market in the Mainland. Furthermore, the macOS of Apple has 6.225% shares in the Chinese market. Same with the other software business like databases, middleware, and programming languages, is ruled by the forging companies.

Advertisement

If we discuss in the figures, Oracle has the major share of the Chinese market for database services. Domestic consumers pay millions of amounts as a service charge. Certainly, it’s a big share for small domestic companies that pays more than half the amount for rental services.

 

The advancement in cloud computing, 5G, and AI (artificial intelligence) widens the application scope for IoT devices. These are future-oriented technologies that will soon incorporate into any network services. Additionally, Huawei’s “Kunpeng Computing Industry Development White Paper” mentioned, the global computing industry investment will reach 1.14 trillion USD in the next three years.

HarmonyOS operating system

Not to mention, China is the world’s largest commuting industry with its huge populations and tech companies. If its software market remains weak, there is no room to grow the computing industry.

Advertisement

Besides, the ratio of domestic software and independent intellectual property rights in China is only single digits, which is about 5% or 6%. Other fields may not be the same, but in software, the number is certainly small. There can be two possible situations, first, the future development space is large, and second is the companies that are working in this industry are small.

Market Competition:

Big names such as Microsoft have great influence, even if they focus on a single industry, domestic companies can’t compete against them. After Red Hat, which writes Linux systems, is acquired by IBM, the annual sales are billions of US dollars. Besides, Oracle’s annual revenue registered around ten million USD in the database industry.

Competing against the companies with this much earning and resources is actually difficult for startup companies or small businesses. This low corporate revenue flow will lead to insufficient investment in all aspects. The major companies are reluctant to engage in the research and development of primary software such as operating systems and databases.

Why Domestic Talent isn’t Participating?

The reason is simple, there is a severe shortage of basic software talents in China. Although Chinese academic produces millions of graduates each year, they are mainly engaged in Internet application software, including games, etc. There are only a few thousand people who are willing to work for the development of the underlying operating system.

Advertisement

Moreover, some universities even remove the required courses of operating systems and turn them into elective courses. Now the problem has matured so gravely resulting in no investment, no market, insufficient investment, and gaps in personnel training, and more. The talents are not only missing out on opportunities for the development of the digital economy but there are also welcoming noteworthy risks.

Huawei HarmonyOS needs Domestic Support:

Being one of the shining software companies in China, Huawei and Euler have joined hands with the industry to promote the development of the domestic basic software ecosystem. Speaking of the resources of the company, it has series of Kirin chips, about 180,000 employees, thousands of software engineers, and top 100 software and information technology services.

However, after the US put the company in its entity list, Google withdrawal its support, and the company brought the HarmonyOS operating system. At present, the company has released the HarmonyOS 2.0 that nearly installed over 100 million devices. Meanwhile, the company announces the installation of this software in 300 million devices by the next year.

HarmonyOS 100 million

As of now, HarmonyOS operating system has 5,000 partners of 90 companies, also has other basic software projects-openEuler established in 2019. But, both – HarmonyOS and Euler are in the developing stage, there is more work to do in the coming years. For more stabilization of the company’s software, Huawei is looking for regions and industries that are least controlled by the US.

Advertisement

The company believes that HarmonyOS operating system and other domestic software must to deep-rooted in China as well as in the global market. With the support of domestic talents, the company and the domestic software will soon get recognition in the global market.

Continue Reading

HarmonyOS

Honor HarmonyOS Upgrade Plan: Devices and Rollout Time [List]

Published

on

By

Huawei has officially unveiled its new operating system HarmonyOS to the world, as it promises to deliver cross-device capabilities among different platforms. This year, Huawei has planned to cross the mark by installing HarmonyOS in 300 million devices, these include both new and old models of smartphones, tablets, IoT devices, smartphone home devices, in-car systems, and other third-party devices.

Last year, Honor became an independent firm and now planning to return to the smartphone market with a number of new products.

However, Honor device users are also concerned about their future and existing device owners are also interested to receive HarmonyOS operating system update.

But don’t worry Honor phone users, you may be out of Huawei’s leadership but you’ll still be cared for by the company in terms of software support.

Advertisement

Because we now have a confirmed list of Honor devices that will upgrade with HarmonyOS. Similar to Huawei devices, the list also includes the oldest node of the device possible to support HarmonyOS features.

So, without further ado, let’s jump into this section and know which devices will receive HarmonyOS software updates and when.

Honor devices that will receive HarmonyOS fourth quarter of 2021:

  1. Honor 30
  2. Honor 30 Pro
  3. Honor 30 Pro+
  4. Honor 30S
  5. Honor V30
  6. Honor V30 Pro
  7. Honor V20
  8. Honor V20 Moschino Edition
  9. Honor Magic 2
  10. Honor 20
  11. Honor 20 Pro
  12. Honor X10
  13. Honor X10 Max
  14. Honor Tablet 6
  15. Honor Tablet X6
  16. Honor Play 4 Pro
  17. Honor 30 Youth Edition
  18. Honor Play 4

Honor Devices that will receive HarmonyOS in the first half of 2022:

  1. Honor V10
  2. Honor 10
  3. Honor Play
  4. Honor 20S
  5. Honor Play4T Pro
  6. Honor 9X
  7. Honor 9X Pro
  8. Honor 8X
  9. Honor 10 Youth Edition
  10. Honor 20i
  11. Honor 9
  12. Honor V9
  13. Honor Play 3
  14. Honor Note 10
  15. Honor Tablet 5 8-inch
  16. Honor Tablet 5 10.1-inch

Also, Check:

Huawei HarmonyOS Upgrade Plan: Devices and Rollout Time [List]

Advertisement
Continue Reading