Go to file
chenjiayin d711878f20 fix build waring for config.json
Signed-off-by: chenjiayin <chen563705@163.com>
2021-06-03 20:06:35 +08:00
ability fix build waring for config.json 2021-06-03 20:06:35 +08:00
common fix build waring for config.json 2021-06-03 20:06:35 +08:00
device fix build waring for config.json 2021-06-03 20:06:35 +08:00
media fix build waring for config.json 2021-06-03 20:06:35 +08:00
network fix build waring for config.json 2021-06-03 20:06:35 +08:00
security/Permission fix build waring for config.json 2021-06-03 20:06:35 +08:00
thread fix build waring for config.json 2021-06-03 20:06:35 +08:00
UI fix build waring for config.json 2021-06-03 20:06:35 +08:00
.gitattributes update OpenHarmony 2.0 Canary 2021-06-02 12:34:30 +08:00
.gitignore update OpenHarmony 2.0 Canary 2021-06-02 12:34:30 +08:00
LICENSE update OpenHarmony 2.0 Canary 2021-06-02 12:34:30 +08:00
OAT.xml update OpenHarmony 2.0 Canary 2021-06-02 12:34:30 +08:00
README_zh.md update OpenHarmony 2.0 Canary 2021-06-02 12:34:30 +08:00
README.md update OpenHarmony 2.0 Canary 2021-06-02 12:34:30 +08:00

App Samples

Introduction

OpenHarmony provides a series of app samples to help you quickly get familiar with the APIs and app development process of the OpenHarmony SDK. Each app sample is an independent project in DevEco Studio. You can import a project into DevEco Studio to learn how to use APIs in the sample by browsing code, building the project, and installing and running the app.

Usage

  1. Import an independent app sample project into DevEco Studio for compilation, building, running, and debugging. For details, see HUAWEI DevEco Studio User Guide.
  2. Some samples contain multiple modules. You can compile and build a single module to generate a HAP file or compile and build the entire project to generate multiple HAP files.
  3. After HAP installation and execution, you can view the execution effect of the sample on the device and then conduct debugging.

Limitations

  1. Before installing and running the sample, check the deviceType field in the config.json file to obtain the device types supported by the sample. You can modify this field to enable the sample to run on your target device. The **config.json** file is generally stored in the **entry/src/main** directory, which may be different depending on the samples.
  2. App samples in the following directories can run on the standard system reference memory ≥ 128 MiB. Other app examples can run only on the large system reference memory ≥ 1 GiB:
    • common/Clock
    • common/JsHelloWorld

Repositories Involved

  1. applications_sample_camera
  2. applications_sample_wifi_iot