Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 905 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 905 Bytes

Helloworld-demo

This is an app built using DevEco Studio.

To download the code, run the following command:

git clone https://github.com/openharmony-research/helloworld-demo.git

Open the project in DevEco Studio. Then, build the HAP file. If you build successfully, you will see: build

After a successful build, upload the entry-default-signed.hap file to the server using commands like scp.

To start an OpenHarmony device using QEMU, connect to the device using the following command:

hdc tconn 192.168.137.2:5555

To install the app, use the following command:

hdc -t <ip> install xxx.hap

To launch the HelloWorld program, use the command:

# aa start -a EntryAbility -b com.example.helloworld

You will see the following screen:

helloworld

To exit the program, use the command:

aa force-stop com.example.helloworld