Skip to content

openharmony-research/helloworld-demo

Repository files navigation

Helloworld-demo

This is an app built using DevEco Studio.

Usage

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

Video

hello.mp4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published