36 Star 252 Fork 159

OpenHarmony / app_samples

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

App Samples

Introduction

We provide a series of app samples to help you quickly get familiar with the APIs and app development process of the HarmonyOS and OpenHarmony SDKs. 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.
  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. If you want to run the app sample on HarmonyOS, configure the development environment by referring to HUAWEI DevEco Studio User Guide. If you want to run the app sample on OpenHarmony, configure the development environment by referring to DevEco Studio (OpenHarmony) User Guide.
  3. App samples that can run on standard-system or small-system devices (as stipulated in Readme) must run on OpenHarmony, whereas those that can run on large-system devices must run on HarmonyOS.
  4. All app samples that must run on HarmonyOS have been migrated to the harmonyos_app_samples repository in the HarmonyOS community. These samples will no longer be updated in the current repository and will be removed soon.

Repositories Involved

  1. App samples of the CAMERA_SAMPLE_APP module: applications_sample_camera
  2. App samples of the WIFI_IOT_APP module: applications_sample_wifi_iot
  3. HarmonyOS app samples: harmonyos_app_samples

Repository Comments ( 21 )

Sign in to post a comment

About

We provide a series of app samples to help you quickly get familiar with the APIs and app development process of the OpenHarmony SDKs. | 为帮助开发者快速熟悉OpenHarmony SDK所提供的API和应用开发流程,我们提供了一系列的应用示例 expand collapse
JavaScript and 4 more languages
Cancel

Releases

No release

OpenHarmony

Contributors

All

Activities

Load More
can not load any more
1
https://git.oschina.net/openharmony/app_samples.git
git@git.oschina.net:openharmony/app_samples.git
openharmony
app_samples
app_samples
master

Search