HarmonyOS 3.0 is a hot topic among Huawei consumers these days. The company has already launched the developer beta, which brings some technical changes to the new software. So far, the Huawei HarmonyOS 3.0 beta system supports a new SDK package, upgraded to API version 8.
Generally, SDK (Software Development Kit) and API (Application Programming Interface) are the two main tools of the software. These goals help improve the functionality of the app with relative ease.
Therefore, Huawei has attempted to optimize HarmonyOS 3.0 beta and its SDK package by updating it to the latest API version 8. On the other hand, the company adds improvements to the ArkUI and ArkCompiler by enabling the JS/eTS language.
As a result, developers have an easier time creating the complex interface design. Moreover, it increases the startup speed of JS applications by 50%. Apart from these tools, the company has also integrated 6 samples, based on eTS.
Ultimately, these examples will help developers learn the basic mechanics and their functions in the new interface. In addition, they will be able to collect detailed information about declarative development and TS extensions.
Here are the six eTS-based samples the company introduced:
Example 1: FlipClock
This sample features a multifunction clock. The clock uses digital page turning to display the time. In addition, it offers to perform several operations. For example, create an alarm, a countdown, set the clock sleep in the settings, adjust the screen brightness, etc.
Sample 2: International
This example shows the system foreign information setting. Alternatively, the user can select the current region and set the system language, date, time, time zone, etc. Simultaneously, it also presents the formatted display of time, number, currency, percentage, singular and plural, screen orientation, and other information in the current system language .
Example 3: purchases
Amazingly, this sample features a fake shopping app. It provides functions similar to a regular shopping app. For example, product display, product search, shopping cart and message reminders. On the other hand, the multimedia contents such as images, videos and texts of each interface appear perfectly with a very high loading speed.
Example 4: Chat
As with the previous example, this one shows the chat application. It offers features like chatting, adding friends, forming group chats, viewing community images, and more. Besides, user can also configure to save the recording, so that it can go back to the same point, from where it started.
Example 5: DeviceUsageStatistics
This example shows usage information for the application in the current device. The data panel at the top shows the usage time ratio of the five most commonly used apps. Another point is that the vertical sliding bar in the middle shows the total usage time and the last usage time of each app. While the horizontal slider bar at the bottom shows a list of less frequently used apps.
Example 6: Native API
This example shows a backgammon game where C++ does the logical computation and eTS does the interface rendering.
|| Source ||