1 Introduction:
finally! OpenHarmony has its own browser application!
You can view the video demonstration:
Let’s take a look at the effect first:
Open a certain treasure:
you can scan the QR code to log in
2 Installation tutorial:
2.1.DAYU200 upgrades to the latest 3.1Release version firmware
Upgrade tutorial: https://www.bilibili.com/video/BV1ar4y1p7U7
The latest 3.1Release firmware can be downloaded in the daily build
2.2. Compile browser HAP package
Browser source code download: https://gitee.com/openharmony/app_samples/tree/master/device/Browser
After downloading the source code, you can use DevEco Studio to compile it.
Of course, you can also directly use the compiled HAP package I attached.
2.3. Install the hap package
Installing the hap package is relatively simple, just use the hdc.exe command to install it:
.hdc.exe install -r entry-default-signed.hap
After installation, you can see the browser on the desktop.
Connect to WiFi before use.
Browser
Introduction
This example uses the Stage model and related interfaces provided by the OpenHarmony system to show a simple browser.
Instructions for use
1. Connect to WiFi, start the application, and display the default page content.
2. Click the icon of the default page to jump to the corresponding web page, or enter the URL in the input box and click the jump button on the right to jump to the corresponding web page.
3. Click the right or left buttons on the left side of the input box to move forward and backward on the page.
4. Click the homepage icon to return to the homepage, and click the plus button to create a new page.
Restrictions and Limitations
1. This example only supports running on standard systems.
2. This example is a Stage model, which is supported starting from API version 9.
3. This example requires DevEco Studio version 3.0.0.900 and above to compile and run.