9cd07cdd创建于 2025年5月9日历史提交

ArkUI-X App Samples

Welcome

Thank you for following the ArkUI-X project. Your contribution to this project will be highly appreciated. If you want to submit code samples or demos, go to the Samples repository. Thank you again for your support.

Introduction

This repository provides a series of app samples to help you quickly learn the APIs and development process of the ArkUI-X project. Each app sample is an independent cross-platform application project. By using the code editor or CLI development tool to browse code, build projects, and install and run app samples, you'll be able to familiarize yourself with the ArkUI cross-platform application development process.

App Samples

Directory Structure

samples
|---BasicFeature        # Basic apps
  |---HelloWorld          # HelloWorld
  |---Library             # Library
  |---MultiAbility        # MultiAbility
  |---Native              # Native
|---SuperFeature        # Featured apps
  |---Animation           # Animation
  |---FauxNativeAlbum     # FauxNativeAlbum
  |---Files               # Files
  |---InfiniteList        # InfiniteList
  |---JsonExample         # JsonExample
  |---MediaVideo          # MediaVideo
  |---PlatformBridge      # PlatformBridge
  |---PlatformNAPI        # PlatformNAPI
  |---Router              # Router
  |---WantParamsExample   # WantParamsExample
  |---WebExample          # WebExample
  |---XcomponentNative    # XcomponentNative
  |---PlatformView        # 平台视图
|---Solutions           # Premium apps
  |---HealthyDiet    	  # HealthyDiet
  |---News    	          # News
  |---Shopping    	      # Shopping
|---CodeLab             # CodeLab apps
  |---HMOSWorld           # HMOSWorld
  |---MultiShopping    	  # MultiShopping
  |---MusicHome           # MusicHome
  |---OxHornCampus        # OxHornCampus
  |---ArkTSComponentCollection        # ArkTSComponentCollection
  |---Cases        		  # Cases

Constraints

When contributing an app sample, make sure that it meets the project structure requirements of ArkUI-X Command Line Tools, as well as the application project build and packaging requirements, such as package signing, of the OS platform.

How to Use

  1. Run Repo commands to download all repositories of the ArkUI-X project or download the desired app samples.
  2. Go to the directory that houses the desired sample, and run the CLI commands or use DevEco Studio to build a cross-platform application.
  3. Install and run the application. In this way, you can view the effect on devices running different OS platforms.

Relative Notes

1、These samples support running on Android \ iOS \ HarmonyOS NEXT platforms. 2、These samples require DevEco Studio 5.0.0 Release and above or the Ace Tools command-line tool of ArkUI-X SDK 5.0.0 Release and above to compile and run.

Repositories Involved

  1. Samples
  2. CLI