# app_samples **Repository Path**: wavelet_xiaobo/app_samples ## Basic Information - **Project Name**: app_samples - **Description**: 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和应用开发流程,我们提供了一系列的应用示例 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 72 - **Created**: 2024-03-28 - **Last Updated**: 2024-06-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # App Samples - [Introduction](#section1470103520301) - [Usage](#section17988202503116) - [Limitations](#section18841871178) - [Repositories Involved](#section741114082513) ## 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. ## Content - Basic - [`Container`:ArrayList(eTS)(API8)](Basic/Container) - [`Screenshot`:Screenshot (eTS)(API9)](Basic/Screenshot) - AppSample - [`Chat`:Chat Sample(eTS)(API8)](AppSample/Chat) - [`Shopping`:Shopping Sample(eTS)(API8)](AppSample/Shopping) - Account - [`AppAccountManager`:App Account Manager (eTS)(API8)](Account/AppAccountManager) - [`DistributeAccount`:Distributed Account(eTS)(API8)](Account/DistributeAccount) - Communication - [`RPC`:RPC Connection (eTS)(API8)](Communication/RPC) - [`Wlan`:WLAN (eTS)(API8)](Communication/Wlan) - ability - [`DMS`:Distributed Demo(eTS)(API8)](ability/DMS) - [`JsDistributedMusicPlayer`:Distributed Music Player(JS)(API7)](ability/JsDistributedMusicPlayer) - [`DataAbility`:Data Ability(eTS)(API8)](ability/DataAbility) - [`ServiceAbility`:Service Ability(eTS)(API8)](ability/ServiceAbility) - [`StageCallAbility`:Stage Call Ability(eTS)(API9)](ability/StageCallAbility) - [`FormAbility`:Form Ability (JS)(API8)](ability/FormAbility) - [`FormExtAbility`:Stage Form(eTS JS)(API9)](ability/FormExtAbility) - [`FormLauncher`:Form Launcher(eTS)(API8)](ability/FormLauncher) - [`ServiceExtAbility`:StageExtAbility Creation(eTS)(API9)](ability/ServiceExtAbility) - [`DistributedGraffiti`:Distributed Graffiti(eTS)(API8)](ability/DistributedGraffiti) - [`MissionManager`:System Mission Manager(eTS)(API9)](ability/MissionManager) - common - [`AirQuality`:Air Quality(JS)(API8)](common/AirQuality) - [`Clock`:Clock(JS)(API8)](common/Clock) - [`DistributeCalc`:Distributed Calculator(JS)(API7)](common/DistributeCalc) - [`ECG`:ECG(JS)(API8)](common/ECG) - [`Notification`:Botification (eTS)(API8)](common/Notification) - [`ResourceManager`:Resource Manager(eTS)(API8)](common/ResourceManager) - [`Runninglock`:Runninglock(eTS)(API8)](common/Runninglock) - [`Flashlight`:Flashlight(JS)(API8)](common/Flashlight) - [`JsHelloWorld`:'Hello World'(JS)(API8)](common/JsHelloWorld) - [`PowerManager`:System Power Manager(eTS)(API8)](common/PowerManager) - [`International`:i18n(eTS)(API8)](common/International) - data - [`KvStore`:Distributed Database(eTS)(API8)](data/Kvstore) - [`LiteStorage`:Lite Storage(eTS)(API8)](data/LiteStorage) - [`Rdb`:Relational Database(eTS)(API8)](data/Rdb) - [`DDMQuery`:DDMQuery(eTS)(API8)](data/DDMQuery) - [`DistributedRdb`:Distributed RDB(eTS)(API8)](data/DistributedRdb) - [`Preferences`:Preference(eTS)(API9)](data/Preferences) - [`DistributedNote`:Distributed Memo (eTS)(API9)](data/DistributedNote) - device - [`DeviceManager`:Device Manager(eTS)(API8)](device/DeviceManager) - [`Sensor`:Sensor(eTS)(API8)](device/Sensor) - [`Vibrator`:Vibrator(eTS)(API8)](device/Vibrator) - [`DeviceUsageStatistics`:Device Usage Statistics(eTS)(API8)](device/DeviceUsageStatistics) - [`Browser`:Browser(eTS)(API9)](device/Browser) - Graphics - [`JsWebGL`:WebGL(JS)(API8)](Graphics/JsWebGL) - [`Window`:Window(eTS)(API9)](Graphics/Window) - media - [`JsAudioPlayer`:Audio Player(JS)(API8)](media/JsAudioPlayer) - [`JsVideo`:Video Player(JS)(API8)](media/JsVideo) - [`Recorder`:Recorder(eTS)(API8)](media/Recorder) - [`MultiMedia`:Multi Media(eTS)(API9)](media/MultiMedia) - [`VideoPlayer`:Video Player(eTS)(API9)](media/VideoPlayer) - [`JsRecorder`:Recorder(JS)(API8)](media/JSRecorder) - DFX - [`JsDotTest`:Dot Test(JS)(API8)](DFX/JsDotTest) - [`FaultLogger`:Faulter Logger(eTS)(API8)](DFX/FaultLogger) - [`Logger`:Logger(eTS)(API9)](DFX/Logger) - Telephony - [`Call`:Call(eTS)(API8)](Telephony/Call) - [`Message`:Message(eTS)(API8)](Telephony/Message) - [`RadioTech`:Radio Tech(eTS)(API8)](Telephony/RadioTech) - [`SimManager`:SIM Card Manager(eTS)(API8)](Telephony/SimManager) - [`MobileNetwork`:Cellular Network(eTS)(API9)](Telephony/MobileNetwork) - thread - [`JsWorker`:Launch a worker(JS)(API8)](thread/JsWorker) - CompleteApps - [`KikaInput`:Lite Input Method(JS)(API9)](CompleteApps/KikaInput) - [`AstronautsGame`:A Game(C++)](CompleteApps/AstronautsGame) - [`FlipClock`:Flip Clock(eTS)(API8)](CompleteApps/FlipClock) - EngineeringCapability - [`Npm`:npm's usage (eTS)(API9)](EngineeringCapability/Npm) - ETSUI - [`Canvas`:Canvas(eTS)(API8)](ETSUI/Canvas) - [`CustomComponent`:Custom Component(eTS)(API8)](ETSUI/CustomComponent) - [`Process`:Process (eTS)(API8)](ETSUI/Process) - [`BuildCommonView`:Build Common View (eTS)(API8)](ETSUI/BuildCommonView) - [`DefiningPageLayoutAndConnection`:Defining Page Layout and Connection(eTS)(API8)](ETSUI/DefiningPageLayoutAndConnection) - [`Drag`:Drag (eTS)(API8)](ETSUI/Drag) - [`Component`:eTS Component Test Demo(eTS)(API8)](ETSUI/Component) - [`ArkUIAnimation`:Animation(eTS)(API8)](ETSUI/ArkUIAnimation) - [`MediaQuery`:Media Query (eTS)(API8)](ETSUI/MediaQuery) - [`XComponent`:XComponent(eTS)(API8)](ETSUI/XComponent) - [`MouseEvent`:Mouse Event (eTS)(API8)](ETSUI/MouseEvent) - [`Web`:Web(eTS)(API8)](ETSUI/Web) - [`Gallery`:Gallery (eTS)(API8)](ETSUI/Gallery) - [`BringApp`:Bring App (eTS)(API8)](ETSUI/BringApp) - [`AdaptiveCapabilities`:AdaptiveCapabilities(eTS)(API9)](ETSUI/AdaptiveCapabilities) - [`Game2048`:2048 Game(eTS)(API9)](ETSUI/Game2048) - [`Lottie`:Lottie(eTS)(API8)](ETSUI/Lottie) - [`TransitionAnimation`:Transition Animation (eTS)(API9)](ETSUI/TransitionAnimation) - FileManager - [`Environment`:Environment (eTS)(API8)](FileManager/Environment) - [`FileIo`:File IO(eTS)(API8)](FileManager/FileIo) - Native - [`NativeAPI`:NativeAPI(eTS)(API8)](Native/NativeAPI) - Notification - [`CommonEvent`:Common Event(eTS)(API8)](Notification/CommonEvent) - [`Emitter`:Emitter (eTS)(API8)](Notification/Emitter) - [`AlarmClock`:Background Alarm Clock (eTS)(API8)](Notification/AlarmClock) - [`Notification`:Subscribe&Send Notification (eTS)(API9)](Notification/Notification) - Network - [`Http`:http Request(eTS)(API8)](Network/Http) - [`Socket`:Socket(eTS)(API8)](Network/Socket) - Preset - [`Clock`:Clock(eTS)(API9)](Preset/Clock) - [`FlashLight`:Flash Light(eTS)(API8)](Preset/FlashLight) - [`DistributeCalc`:Distributed Calculator(eTS)(API8)](Preset/DistributeCalc) - [`AirQuality`:Air Quality (eTS)(API9)](Preset/AirQuality) - [`DistributedMusicPlayer`:Distributed Music Player (eTS)(API9)](Preset/DistributedMusicPlayer) - PackageManagement - [`ZipLib`:zip&unzip(eTS)(API9)](PackageManagement/ZipLib) - ResourcesSchedule - [`Flybird`:Game(eTS)(API9)](ResourcesSchedule/Flybird) - [`BackgroundTaskManager`:Background Task Manager(eTS)(API8)](ResourcesSchedule/BackgroundTaskManager) - UI - [`AtomicLayout`:Atomic Layout(JS)(API8)](UI/AtomicLayout) - [`Badge`:Badge(JS)(API8)](UI/Badge) - [`International`:i18n(JS)(API8)](UI/International) - [`JsFA`:FA Demo(JS)(API8)](UI/JsFA) - [`JsShopping`:Shopping Demo(JS)(API8)](UI/JsShopping) - [`JSMenu`:Menu(JS)(API8)](UI/JSMenu) - [`JSUICustomComponent`:UI Custom Component(JS)(API8)](UI/JSUICustomComponent) - [`JsAnimation`:Animation(JS)(API8)](UI/JsAnimation) - [`JsAnimationStyle`:Animation Style(JS)(API8)](UI/JsAnimationStyle) - [`JsBasicComponents`:Basic Components(JS)(API8)](UI/JsBasicComponents) - [`JsBrightness`:Brightness(JS)(API8)](UI/JsBrightness) - [`JsCanvas`:Canvas(JS)(API8)](UI/JsCanvas) - [`JsDevice`:Device Info(JS)(API8)](UI/JsDevice) - [`JsDialog`:Dialog(JS)(API8)](UI/JsDialog) - [`JsGrid`:Grid Layout(JS)(API8)](UI/JsGrid) - [`JsList`:List(JS)(API8)](UI/JsList) - [`JsPanel`:Panel(JS)(API8)](UI/JsPanel) - [`JsRouter`:Router(JS)(API8)](UI/JsRouter) - [`JsSvg`:SVG(JS)(API8)](UI/JsSvg) - [`JsTimer`:Timer(JS)(API8)](UI/JsTimer) - [`Picker`:Picker (JS)(API8)](UI/Picker) - [`Popup`:Popup (JS)(API8)](UI/Popup) - [`RefreshContainer`:Refresh Container(JS)(API8)](UI/RefreshContainer) - [`Slider`:Slider(JS)(API8)](UI/Slider) - [`Stack`:Stack(JS)(API8)](UI/Stack) - [`StepNavigator`:Step Navigator(JS)(API8)](UI/StepNavigator) - [`Swiper`:Swiper(JS)(API8)](UI/Swiper) - [`Tabs`:Tabs(JS)(API8)](UI/Tabs) - [`Toolbar`:Toolbar (JS)(API8)](UI/Toolbar) - [`chart`:Chart(JS)(API8)](UI/chart) - [`JsAdaptivePortalList`:Adaptive Portal List(JS)(API8)](UI/JsAdaptivePortalList) - [`JsAdaptivePortalPage`:Adaptive Portal Page(JS)(API8)](UI/JsAdaptivePortalPage) - [`JsImage`:Basic Image(JS)(API8)](UI/JsImage) - [`JsGallery`:Gallery Demo(JS)(API8)](UI/JsGallery) - [`JSComponments`:Js Component (JS)(API8)](UI/JSComponments) - [`JsUserRegistration`:User Registration(JS)(API8)](UI/JsUserRegistration) - [`JsAdaptiveServiceWidget`:Adaptive Service Widget(JS)(API8)](UI/JsAdaptiveServiceWidget) - [`JsAnimator`:Animator(JS)(API8)](UI/JsAnimator) - Util - [`UtilBase64Codec`:Base64 Codec(eTS)(API8)](Util/UtilBase64Codec) - [`UtilScope`:Scope(eTS)(API8)](Util/UtilScope) - [`UtilStringCodec`:String Codec(eTS)(API8)](Util/UtilStringCodec) - [`UtilLruBuffer`:Buffer(eTS)(API8)](Util/UtilLruBuffer) - [`UtilRationalNumber`:Rational Number(eTS)(API8)](Util/UtilRationalNumber) - [`UtilTypeCheck`:Type Check(eTS)(API8)](Util/UtilTypeCheck) - [`UtilUrlString`:URL String Parser (eTS)(API8)](Util/UtilUrlString) - [`XmlTextConvert`:xml->text Convertor(eTS)(API8)](Util/XmlTextConvert) ## 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](https://developer.harmonyos.com/en/docs/documentation/doc-guides/tools_overview-0000001053582387). If you want to run the app sample on OpenHarmony, configure the development environment by referring to [DevEco Studio \(OpenHarmony\) User Guide](https://gitee.com/openharmony/docs/blob/master/en/application-dev/quick-start/Readme-EN.md). 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](https://gitee.com/harmonyos/harmonyos_app_samples) repository in the [HarmonyOS community](https://gitee.com/harmonyos). These samples will no longer be updated in the current repository and will be removed soon.