Connect with us

Huawei

Huawei DevEco Studio 2.1 receiving Beta 2 update with 6 new major updates

Published

on

DevEco Studio 3

Huawei officially announced HUAWEI DevEco Studio is for Huawei terminal equipment of the whole scene more than a one-stop integrated development environment (IDE), to provide engineering templates for developers to create, develop, compile, debug, test , Release and other E2E HarmonyOS application development services.

In the month of December 16, 2020, HUAWEI DevEco Studio released version 2.0 Beta 3. Now the company has taken two months time to release the beta 2 update but now the company started rolling out the beta 2 update for HUAWEI DevEco Studio and it comes with lots of new changes. Below you can check the changes.

Mac version complete Java UI preview
In the process of developing HarmonyOS applications, developers can view the display effect of the UI interface through the previewer function provided by DevEco Studio. With the upgrade of the version, DevEco Studio 2.1 Beta 2 (Windows+Mac version) has supported the preview of the Java UI interface and the JS UI interface.

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.

Real-time preview: After modifying the UI file, you can view the UI display effect in real-time in the previewer.

Dynamic preview: In the preview interface, interactive operations such as click events and sliding can be performed.

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. However, it is worth noting that if the two devices support different encoding languages, the cross-device preview function cannot be used. For example, the Java language Phone application does not support running on Lite Wearable, because Lite Wearable does not support Java language.

Added 5 mobile phone project templates

DevEco Studio supports mobile phones, tablets, car machines, smart screen, smart wearable, lightweight smart wearable and smart vision. In order to facilitate the use of developers, DevEco Studio 2.0 provides Ability templates for multiple device types and different development languages.

DevEco Studio 2.1 Beta 2 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++

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.

Provide application security testing services

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.

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.

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. The problem checks 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.

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

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

  • 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.
  • 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.
  • 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.
  • 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:

  • The code completion function is enhanced, which is manifested in import optimization, suffix completion, and enhancement of annotation capabilities.
  • Code grammar enhancement: support ES6 grammar, Emmet grammar and Media Query conditional rules to automatically complete.
  • 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:

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

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

  • 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.
  • 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.
  • Solved the problem that the simulator does not support the display of the WebView control.

(Via/ Source)

Continue Reading
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Huawei

HarmonyOS 4.0.0.136 Update Released for Huawei Mate 60 Series

Published

on

By

HarmonyOS 4.0.0.136

Huawei has rolled out the latest HarmonyOS version 4.0.0.136 for Huawei Mate 60 series smartphones in China. This update brings significant optimizations and improvements to enhance the overall performance of these devices.

The Huawei Mate 60 series, launched in August, has been a hit with strong sales. This flagship phone boasts the powerful Kirin 9000s chipset, making it a standout in the market.

The Mate 60 series is the first to run on HarmonyOS 4, offering a host of new features. Huawei has been consistently releasing software updates over the past two months, enhancing the user experience for these smartphones.

The HarmonyOS 4.0.0.136 update brings improved camera features and optimizations to the system for an enhanced experience.

The latest update for Huawei Mate 60 series ensures improved compatibility with third-party apps and enhances system stability in various situations, offering users a smoother experience.

huawei-mate-60-

Users of the Mate 60 series are now getting a reminder to enable 5G for faster data speeds, alongside the new firmware update.

Although there’s no specific switch for 5G in Huawei smartphones’ network settings, and no 5G icon in the taskbar, users can still enjoy high-speed 5G internet on the Huawei Mate 60 series models.

The HarmonyOS 4.0.0.136 update for Huawei Mate 60 series is rolling out gradually, so it may take some time before all users receive it.

via:-HuaweiCentral

Continue Reading

Huawei

Huawei Unveils New Open-Ear Headphones: A Fusion of Fashion and Comfort

Published

on

By

huawei new open type ear buds

Huawei is set to launch its latest innovation in the audio realm: open-ear headphones that prioritize both style and comfort. This exciting new product line is designed to cater to a wide range of users, from casual listeners to active individuals seeking an immersive audio experience without sacrificing situational awareness.

Crafted with a focus on aesthetics and ergonomics, Huawei’s open-ear headphones boast a sleek and modern design that complements any outfit. The lightweight and breathable construction ensures a comfortable fit, even during extended listening sessions.

Equipped with cutting-edge audio technology, these headphones deliver crystal-clear sound with enhanced bass response. Users can also enjoy hands-free calling and seamless connectivity with their smartphones or other Bluetooth-enabled devices.

The open-ear design allows for ambient sounds to pass through, keeping users aware of their surroundings while enjoying their music. This feature is particularly beneficial for outdoor activities or situations where it’s important to stay alert.

Available in a variety of stylish colors, Huawei’s open-ear headphones make a bold fashion statement without compromising on comfort or performance. Whether you’re hitting the gym, commuting to work, or simply relaxing at home, these headphones are the perfect accessory for any occasion.

huawei new open type ear buds

Huawei Unveils New Open-Ear Headphones: A Fusion of Fashion and Comfort

  • The new open-type headphones from Huawei will be suitable for use in various settings, including offices, while traveling, and in remote locations.
  • Bone conduction is a key technology in the earphone industry this year, and more manufacturers are focusing on it. Currently, open headphones are primarily used for sports applications, with bone conduction and air conduction being the main sound-producing technologies.
  • In China, sales of open headphones have increased by 220% year-on-year. During the 2023 Singles Day sales season, this increase reached 340%.
  • These figures indicate that sales of open-type headphones are experiencing rapid growth, and more consumers are choosing these headphones.

via:- hc/weibo

Continue Reading

Huawei

Huawei Nova 12 Series Leaks: A Glimpse at the Ultra Model with Unique Camera Design and Noteworthy Features

Published

on

By

huawei nova 12 ultra

The impending launch of Huawei’s Nova 12 series is generating considerable buzz in the smartphone realm. Recent leaks, possibly showcasing the Huawei Nova 12 Ultra model (unless they pertain to the P70), have surfaced, originating from a Weibo tipster.

The leaked images unveil a phone featuring a distinctive cylindrical camera module reminiscent of the Huawei Nova 11, albeit with a more streamlined lens arrangement. Vertically aligned, the trio of cameras on the rear includes a noticeably larger top lens, likely serving as the primary camera. Emblazoned with “XMAGE” branding, this camera is accompanied by an LED flash for enhanced photography capabilities.

Examining the device’s right side reveals a trio of buttons, encompassing volume adjustment keys and a power button adorned in a striking red hue. The phone’s design showcases rounded corners, contributing to a sleek aesthetic, with minimal curvature along the sides. Stay tuned for further revelations as Huawei gears up for the next phase in its smartphone campaign.

On the right side, you’ll find a trio of buttons, housing volume adjustment keys and a power button that stands out with its vibrant red hue. The phone’s design emphasizes rounded corners, maintaining a sleek and modern aesthetic, while the sides showcase a minimalistic curvature.

huawei nova 12 pro

huawei nova 12 pro

While its identity remains uncertain, the overall design stands out with intriguing elements and appears more polished than previous Nova series devices.

Weibo users are speculating that this phone could be part of the Huawei P70 series. However, the tipster who shared the images expresses some uncertainty about this possibility.

Notably, the XMAGE branding is typically associated with flagship devices. In the case of this year’s Nova 12 Ultra, there’s a possibility of additional features, with XMAGE imaging potentially being one of them.

via:- HC/Weibo

Continue Reading

Most Popular