| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| Account/ | 12-May-2024 | - | 3,941 | 3,582 | ||
| AppSample/ | 12-May-2024 | - | 8,556 | 7,826 | ||
| Basic/ | 12-May-2024 | - | 2,401 | 2,046 | ||
| Communication/ | 12-May-2024 | - | 3,050 | 2,780 | ||
| CompleteApps/ | 12-May-2024 | - | 5,403 | 4,834 | ||
| DFX/ | 12-May-2024 | - | 3,735 | 3,119 | ||
| ETSUI/ | 12-May-2024 | - | 51,052 | 46,614 | ||
| EngineeringCapability/Npm/ | 12-May-2024 | - | 1,774 | 1,497 | ||
| FileManager/FileIo/ | 12-May-2024 | - | 942 | 848 | ||
| Graphics/ | 12-May-2024 | - | 1,936 | 1,543 | ||
| MultiDeviceAppDev/ | 12-May-2024 | - | 17,272 | 15,134 | ||
| Network/ | 12-May-2024 | - | 5,766 | 5,011 | ||
| Notification/ | 12-May-2024 | - | 4,379 | 3,871 | ||
| PackageManagement/ZipLib/ | 12-May-2024 | - | 1,224 | 1,082 | ||
| Preset/ | 12-May-2024 | - | 5,072 | 4,429 | ||
| ResourcesSchedule/ | 12-May-2024 | - | 3,846 | 3,337 | ||
| Safety/ | 12-May-2024 | - | 2,533 | 2,183 | ||
| Share/Share/ | 12-May-2024 | - | 1,957 | 1,613 | ||
| Telephony/ | 12-May-2024 | - | 10,969 | 9,702 | ||
| UI/ | 12-May-2024 | - | 32,721 | 26,449 | ||
| Util/ | 12-May-2024 | - | 8,106 | 7,341 | ||
| ability/ | 12-May-2024 | - | 33,214 | 27,685 | ||
| common/ | 12-May-2024 | - | 8,617 | 7,662 | ||
| data/ | 12-May-2024 | - | 13,420 | 11,722 | ||
| device/ | 12-May-2024 | - | 11,660 | 10,109 | ||
| media/ | 12-May-2024 | - | 21,583 | 18,564 | ||
| thread/JsWorker/ | 12-May-2024 | - | 497 | 388 | ||
| .gitattributes | D | 12-May-2024 | 631 | 16 | 15 | |
| .gitignore | D | 12-May-2024 | 115 | 12 | 9 | |
| CodeCommitChecklist.md | D | 12-May-2024 | 7.1 KiB | 173 | 141 | |
| LICENSE | D | 12-May-2024 | 13.6 KiB | 218 | 172 | |
| OAT.xml | D | 12-May-2024 | 4.9 KiB | 73 | 17 | |
| README.md | D | 12-May-2024 | 12.3 KiB | 195 | 185 | |
| README_zh.md | D | 12-May-2024 | 16.7 KiB | 272 | 247 | |
| SampleReadTemplate.md | D | 12-May-2024 | 3.1 KiB | 44 | 26 | |
| changelog.md | D | 12-May-2024 | 5.7 KiB | 92 | 83 | |
| releasenote.md | D | 12-May-2024 | 314 | 10 | 7 |
README.md
1# App Samples<a name="EN-US_TOPIC_0000001115464207"></a> 2 3- [Introduction](#section1470103520301) 4- [Usage](#section17988202503116) 5- [Limitations](#section18841871178) 6- [Repositories Involved](#section741114082513) 7 8## Introduction<a name="section1470103520301"></a> 9 10We provide a series of app samples to help you quickly get familiar with the APIs and app development process of the 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. 11 12## Content <a name="sectionMenu"></a> 13 14- Basic 15 - [`Container`:ArrayList(eTS)(API8)](Basic/Container) 16 - [`Screenshot`:Screenshot (eTS)(API9)](Basic/Screenshot) 17- AppSample 18 - [`Chat`:Chat Sample(eTS)(API8)](AppSample/Chat) 19 - [`Shopping`:Shopping Sample(eTS)(API8)](AppSample/Shopping) 20- Account 21 - [`AppAccountManager`:App Account Manager (eTS)(API8)](Account/AppAccountManager) 22 - [`DistributeAccount`:Distributed Account(eTS)(API8)](Account/DistributeAccount) 23- Communication 24 - [`RPC`:RPC Connection (eTS)(API8)](Communication/RPC) 25 - [`Wlan`:WLAN (eTS)(API8)](Communication/Wlan) 26- ability 27 - [`DMS`:Distributed Demo(eTS)(API8)](ability/DMS) 28 - [`JsDistributedMusicPlayer`:Distributed Music Player(JS)(API7)](ability/JsDistributedMusicPlayer) 29 - [`DataAbility`:Data Ability(eTS)(API8)](ability/DataAbility) 30 - [`ServiceAbility`:Service Ability(eTS)(API8)](ability/ServiceAbility) 31 - [`StageCallAbility`:Stage Call Ability(eTS)(API9)](ability/StageCallAbility) 32 - [`FormAbility`:Form Ability (JS)(API8)](ability/FormAbility) 33 - [`FormExtAbility`:Stage Form(eTS JS)(API9)](ability/FormExtAbility) 34 - [`FormLauncher`:Form Launcher(eTS)(API8)](ability/FormLauncher) 35 - [`ServiceExtAbility`:StageExtAbility Creation(eTS)(API9)](ability/ServiceExtAbility) 36 - [`DistributedGraffiti`:Distributed Graffiti(eTS)(API8)](ability/DistributedGraffiti) 37 - [`MissionManager`:System Mission Manager(eTS)(API9)](ability/MissionManager) 38- common 39 - [`AirQuality`:Air Quality(JS)(API8)](common/AirQuality) 40 - [`Clock`:Clock(JS)(API8)](common/Clock) 41 - [`DistributeCalc`:Distributed Calculator(JS)(API7)](common/DistributeCalc) 42 - [`ECG`:ECG(JS)(API8)](common/ECG) 43 - [`Notification`:Botification (eTS)(API8)](common/Notification) 44 - [`ResourceManager`:Resource Manager(eTS)(API8)](common/ResourceManager) 45 - [`Runninglock`:Runninglock(eTS)(API8)](common/Runninglock) 46 - [`Flashlight`:Flashlight(JS)(API8)](common/Flashlight) 47 - [`JsHelloWorld`:'Hello World'(JS)(API8)](common/JsHelloWorld) 48 - [`PowerManager`:System Power Manager(eTS)(API8)](common/PowerManager) 49 - [`International`:i18n(eTS)(API8)](common/International) 50- data 51 - [`KvStore`:Distributed Database(eTS)(API8)](data/Kvstore) 52 - [`LiteStorage`:Lite Storage(eTS)(API8)](data/LiteStorage) 53 - [`Rdb`:Relational Database(eTS)(API8)](data/Rdb) 54 - [`DDMQuery`:DDMQuery(eTS)(API8)](data/DDMQuery) 55 - [`DistributedRdb`:Distributed RDB(eTS)(API8)](data/DistributedRdb) 56 - [`Preferences`:Preference(eTS)(API9)](data/Preferences) 57 - [`DistributedNote`:Distributed Memo (eTS)(API9)](data/DistributedNote) 58- device 59 - [`DeviceManager`:Device Manager(eTS)(API8)](device/DeviceManager) 60 - [`Sensor`:Sensor(eTS)(API8)](device/Sensor) 61 - [`Vibrator`:Vibrator(eTS)(API8)](device/Vibrator) 62 - [`DeviceUsageStatistics`:Device Usage Statistics(eTS)(API8)](device/DeviceUsageStatistics) 63 - [`Browser`:Browser(eTS)(API9)](device/Browser) 64- Graphics 65 - [`JsWebGL`:WebGL(JS)(API8)](Graphics/JsWebGL) 66 - [`Window`:Window(eTS)(API9)](Graphics/Window) 67- media 68 - [`JsAudioPlayer`:Audio Player(JS)(API8)](media/JsAudioPlayer) 69 - [`JsVideo`:Video Player(JS)(API8)](media/JsVideo) 70 - [`Recorder`:Recorder(eTS)(API8)](media/Recorder) 71 - [`MultiMedia`:Multi Media(eTS)(API9)](media/MultiMedia) 72 - [`VideoPlayer`:Video Player(eTS)(API9)](media/VideoPlayer) 73 - [`JsRecorder`:Recorder(JS)(API8)](media/JSRecorder) 74- DFX 75 - [`JsDotTest`:Dot Test(JS)(API8)](DFX/JsDotTest) 76 - [`FaultLogger`:Faulter Logger(eTS)(API8)](DFX/FaultLogger) 77 - [`Logger`:Logger(eTS)(API9)](DFX/Logger) 78- Telephony 79 - [`Call`:Call(eTS)(API8)](Telephony/Call) 80 - [`Message`:Message(eTS)(API8)](Telephony/Message) 81 - [`RadioTech`:Radio Tech(eTS)(API8)](Telephony/RadioTech) 82 - [`SimManager`:SIM Card Manager(eTS)(API8)](Telephony/SimManager) 83 - [`MobileNetwork`:Cellular Network(eTS)(API9)](Telephony/MobileNetwork) 84- thread 85 - [`JsWorker`:Launch a worker(JS)(API8)](thread/JsWorker) 86- CompleteApps 87 - [`KikaInput`:Lite Input Method(JS)(API9)](CompleteApps/KikaInput) 88 - [`AstronautsGame`:A Game(C++)](CompleteApps/AstronautsGame) 89 - [`FlipClock`:Flip Clock(eTS)(API8)](CompleteApps/FlipClock) 90- EngineeringCapability 91 - [`Npm`:npm's usage (eTS)(API9)](EngineeringCapability/Npm) 92- ETSUI 93 - [`Canvas`:Canvas(eTS)(API8)](ETSUI/Canvas) 94 - [`CustomComponent`:Custom Component(eTS)(API8)](ETSUI/CustomComponent) 95 - [`Process`:Process (eTS)(API8)](ETSUI/Process) 96 - [`BuildCommonView`:Build Common View (eTS)(API8)](ETSUI/BuildCommonView) 97 - [`DefiningPageLayoutAndConnection`:Defining Page Layout and Connection(eTS)(API8)](ETSUI/DefiningPageLayoutAndConnection) 98 - [`Drag`:Drag (eTS)(API8)](ETSUI/Drag) 99 - [`Component`:eTS Component Test Demo(eTS)(API8)](ETSUI/Component) 100 - [`ArkUIAnimation`:Animation(eTS)(API8)](ETSUI/ArkUIAnimation) 101 - [`MediaQuery`:Media Query (eTS)(API8)](ETSUI/MediaQuery) 102 - [`XComponent`:XComponent(eTS)(API8)](ETSUI/XComponent) 103 - [`MouseEvent`:Mouse Event (eTS)(API8)](ETSUI/MouseEvent) 104 - [`Web`:Web(eTS)(API8)](ETSUI/Web) 105 - [`Gallery`:Gallery (eTS)(API8)](ETSUI/Gallery) 106 - [`BringApp`:Bring App (eTS)(API8)](ETSUI/BringApp) 107 - [`AdaptiveCapabilities`:AdaptiveCapabilities(eTS)(API9)](ETSUI/AdaptiveCapabilities) 108 - [`Game2048`:2048 Game(eTS)(API9)](ETSUI/Game2048) 109 - [`Lottie`:Lottie(eTS)(API8)](ETSUI/Lottie) 110 - [`TransitionAnimation`:Transition Animation (eTS)(API9)](ETSUI/TransitionAnimation) 111- FileManager 112 - [`Environment`:Environment (eTS)(API8)](FileManager/Environment) 113 - [`FileIo`:File IO(eTS)(API8)](FileManager/FileIo) 114- Native 115 - [`NativeAPI`:NativeAPI(eTS)(API8)](Native/NativeAPI) 116- Notification 117 - [`CommonEvent`:Common Event(eTS)(API8)](Notification/CommonEvent) 118 - [`Emitter`:Emitter (eTS)(API8)](Notification/Emitter) 119 - [`AlarmClock`:Background Alarm Clock (eTS)(API8)](Notification/AlarmClock) 120 - [`Notification`:Subscribe&Send Notification (eTS)(API9)](Notification/Notification) 121- Network 122 - [`Http`:http Request(eTS)(API8)](Network/Http) 123 - [`Socket`:Socket(eTS)(API8)](Network/Socket) 124- Preset 125 - [`Clock`:Clock(eTS)(API9)](Preset/Clock) 126 - [`FlashLight`:Flash Light(eTS)(API8)](Preset/FlashLight) 127 - [`DistributeCalc`:Distributed Calculator(eTS)(API8)](Preset/DistributeCalc) 128 - [`AirQuality`:Air Quality (eTS)(API9)](Preset/AirQuality) 129 - [`DistributedMusicPlayer`:Distributed Music Player (eTS)(API9)](Preset/DistributedMusicPlayer) 130- PackageManagement 131 - [`ZipLib`:zip&unzip(eTS)(API9)](PackageManagement/ZipLib) 132- ResourcesSchedule 133 - [`Flybird`:Game(eTS)(API9)](ResourcesSchedule/Flybird) 134 - [`BackgroundTaskManager`:Background Task Manager(eTS)(API8)](ResourcesSchedule/BackgroundTaskManager) 135- UI 136 - [`AtomicLayout`:Atomic Layout(JS)(API8)](UI/AtomicLayout) 137 - [`Badge`:Badge(JS)(API8)](UI/Badge) 138 - [`International`:i18n(JS)(API8)](UI/International) 139 - [`JsFA`:FA Demo(JS)(API8)](UI/JsFA) 140 - [`JsShopping`:Shopping Demo(JS)(API8)](UI/JsShopping) 141 - [`JSMenu`:Menu(JS)(API8)](UI/JSMenu) 142 - [`JSUICustomComponent`:UI Custom Component(JS)(API8)](UI/JSUICustomComponent) 143 - [`JsAnimation`:Animation(JS)(API8)](UI/JsAnimation) 144 - [`JsAnimationStyle`:Animation Style(JS)(API8)](UI/JsAnimationStyle) 145 - [`JsBasicComponents`:Basic Components(JS)(API8)](UI/JsBasicComponents) 146 - [`JsBrightness`:Brightness(JS)(API8)](UI/JsBrightness) 147 - [`JsCanvas`:Canvas(JS)(API8)](UI/JsCanvas) 148 - [`JsDevice`:Device Info(JS)(API8)](UI/JsDevice) 149 - [`JsDialog`:Dialog(JS)(API8)](UI/JsDialog) 150 - [`JsGrid`:Grid Layout(JS)(API8)](UI/JsGrid) 151 - [`JsList`:List(JS)(API8)](UI/JsList) 152 - [`JsPanel`:Panel(JS)(API8)](UI/JsPanel) 153 - [`JsRouter`:Router(JS)(API8)](UI/JsRouter) 154 - [`JsSvg`:SVG(JS)(API8)](UI/JsSvg) 155 - [`JsTimer`:Timer(JS)(API8)](UI/JsTimer) 156 - [`Picker`:Picker (JS)(API8)](UI/Picker) 157 - [`Popup`:Popup (JS)(API8)](UI/Popup) 158 - [`RefreshContainer`:Refresh Container(JS)(API8)](UI/RefreshContainer) 159 - [`Slider`:Slider(JS)(API8)](UI/Slider) 160 - [`Stack`:Stack(JS)(API8)](UI/Stack) 161 - [`StepNavigator`:Step Navigator(JS)(API8)](UI/StepNavigator) 162 - [`Swiper`:Swiper(JS)(API8)](UI/Swiper) 163 - [`Tabs`:Tabs(JS)(API8)](UI/Tabs) 164 - [`Toolbar`:Toolbar (JS)(API8)](UI/Toolbar) 165 - [`chart`:Chart(JS)(API8)](UI/chart) 166 - [`JsAdaptivePortalList`:Adaptive Portal List(JS)(API8)](UI/JsAdaptivePortalList) 167 - [`JsAdaptivePortalPage`:Adaptive Portal Page(JS)(API8)](UI/JsAdaptivePortalPage) 168 - [`JsImage`:Basic Image(JS)(API8)](UI/JsImage) 169 - [`JsGallery`:Gallery Demo(JS)(API8)](UI/JsGallery) 170 - [`JSComponments`:Js Component (JS)(API8)](UI/JSComponments) 171 - [`JsUserRegistration`:User Registration(JS)(API8)](UI/JsUserRegistration) 172 - [`JsAdaptiveServiceWidget`:Adaptive Service Widget(JS)(API8)](UI/JsAdaptiveServiceWidget) 173 - [`JsAnimator`:Animator(JS)(API8)](UI/JsAnimator) 174- Util 175 - [`UtilBase64Codec`:Base64 Codec(eTS)(API8)](Util/UtilBase64Codec) 176 - [`UtilScope`:Scope(eTS)(API8)](Util/UtilScope) 177 - [`UtilStringCodec`:String Codec(eTS)(API8)](Util/UtilStringCodec) 178 - [`UtilLruBuffer`:Buffer(eTS)(API8)](Util/UtilLruBuffer) 179 - [`UtilRationalNumber`:Rational Number(eTS)(API8)](Util/UtilRationalNumber) 180 - [`UtilTypeCheck`:Type Check(eTS)(API8)](Util/UtilTypeCheck) 181 - [`UtilUrlString`:URL String Parser (eTS)(API8)](Util/UtilUrlString) 182 - [`XmlTextConvert`:xml->text Convertor(eTS)(API8)](Util/XmlTextConvert) 183 184## Usage<a name="section17988202503116"></a> 185 1861. Import an independent app sample project into DevEco Studio for compilation, building, running, and debugging. 1872. 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. 1883. After HAP installation and execution, you can view the execution effect of the sample on the device and then conduct debugging. 189 190## Limitations<a name="section18841871178"></a> 191 1921. 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.\) 1932. 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). 1943. App samples that can run on standard-system or small-system devices (as stipulated in **Readme**) must run on OpenHarmony. 195
README_zh.md
1# app_samples部件<a name="ZH-CN_TOPIC_0000001115464207"></a> 2 3## 简介<a name="section1470103520301"></a> 4 5【示例贡献温馨提示】感谢您关注OpenHarmony,如果您希望提交代码样例/示例/Demo,请参考知识体系的[《如何共建开发样例》](https://gitee.com/openharmony-sig/knowledge/blob/master/docs/co-construct_demos/README_zh.md),首先提交到SIG(兴趣组)仓,知识体系SIG仓中的提交也是有效贡献。再次感谢您的关注! 6 7新Sample合入需遵循[Sample编码规范](CodeCommitChecklist.md)。 8 9**内容简介** 10 11为帮助开发者快速熟悉OpenHarmony SDK所提供的API和应用开发流程,我们提供了一系列的应用示例,即Sample。每一个应用示例都是一个独立的DevEco Studio工程项目,开发者可以将工程导入到DevEco Studio开发工具,通过浏览代码、编译工程、安装和运行应用示例来了解应用示例中涉及API的使用方法。 12 13**架构组成** 14 15- Basic 16 - [`Container`:线性容器ArrayList(eTS)(API8)](Basic/Container) 17 - [`Screenshot`:屏幕截图(eTS)(API9)(Full SDK)](Basic/Screenshot) 18- AppSample 19 - [`Chat`:聊天示例应用(eTS)(API8)](AppSample/Chat) 20 - [`Shopping`:购物示例应用(eTS)(API8)](AppSample/Shopping) 21- Account 22 - [`AppAccountManager`:应用帐号管理(eTS)(API8)](Account/AppAccountManager) 23 - [`DistributeAccount`:分布式帐号管理(eTS)(API8)](Account/DistributeAccount) 24- Communication 25 - [`RPC`:RPC连接(eTS)(API8)](Communication/RPC) 26 - [`Wlan`:WLAN(eTS)(API8)(Full SDK)](Communication/Wlan) 27- ability 28 - [`DMS`:分布式Demo(eTS)(API8)(Full SDK)](ability/DMS) 29 - [`JsDistributedMusicPlayer`:分布式音乐播放(JS)(API8)(Full SDK)](ability/JsDistributedMusicPlayer) 30 - [`DataAbility`:DataAbility的创建与访问(eTS)(API8)](ability/DataAbility) 31 - [`ServiceAbility`:ServiceAbility的创建与使用(eTS)(API8)](ability/ServiceAbility) 32 - [`StageCallAbility`:StageCallAbility的创建与使用(eTS)(API9)(Full SDK)](ability/StageCallAbility) 33 - [`FormAbility`:FA模型卡片(eTS)(API8)](ability/FormAbility) 34 - [`FormExtAbility`:Stage模型卡片(eTS)(API9)](ability/FormExtAbility) 35 - [`FormLauncher`:卡片使用方(eTS)(API8)(Full SDK)](ability/FormLauncher) 36 - [`ServiceExtAbility`:StageExtAbility的创建与使用(eTS)(API9)(Full SDK)](ability/ServiceExtAbility) 37 - [`DistributedGraffiti`:分布式涂鸦(eTS)(API8)(Full SDK)](ability/DistributedGraffiti) 38 - [`MissionManager`:系统任务管理(eTS)(API9)(Full SDK)](ability/MissionManager) 39 - [`GalleryForm`:图库卡片(eTS)(API9)](ability/GalleryForm) 40 - [`Launcher`:仿桌面应用(eTS)(API9)(Full SDK)](ability/Launcher) 41 - [`FaModel`:FA模型(eTS)(API9)](ability/FaModel) 42 - [`StageModel`:Stage模型(eTS)(API9)(Full SDK)](ability/StageModel) 43 - [`WindowExtAbility`:窗口扩展(eTS)(API9)(Full SDK)](ability/WindowExtAbility) 44- common 45 - [`Clock`:时钟(JS)(API8)](common/Clock) 46 - [`DistributeCalc`:分布式计算器(JS)(API8)(Full SDK)](common/DistributeCalc) 47 - [`Notification`:通知(eTS)(API8)](common/Notification) 48 - [`ResourceManager`:资源管理器(eTS)(API8)](common/ResourceManager) 49 - [`Runninglock`:运行锁(eTS)(API8)](common/Runninglock) 50 - [`JsHelloWorld`:你好世界(JS)(API8)](common/JsHelloWorld) 51 - [`PowerManager`:系统电源管理(eTS)(API8)(Full SDK)](common/PowerManager) 52 - [`International`:国际化(eTS)(API8)(Full SDK)](common/International) 53- data 54 - [`KvStore`:分布式数据库(eTS)(API8)(Full SDK)](data/Kvstore) 55 - [`LiteStorage`:轻量级存储(eTS)(API8)](data/LiteStorage) 56 - [`DDMQuery`:结果集与谓词(eTS)(API8)](data/DDMQuery) 57 - [`DistributedRdb`:分布式关系型数据库(eTS)(API8)(Full SDK)](data/DistributedRdb) 58 - [`Preferences`:首选项(eTS)(API9)](data/Preferences) 59 - [`DistributedNote`:分布式备忘录(eTS)(API9)(Full SDK)](data/DistributedNote) 60 - [`DistributedDataGobang`:分布式五子棋(eTS)(API9)(Full SDK)](data/DistributedDataGobang) 61 - [`DistributedObjectDms`:分布式跑马灯(eTS)(API9)(Full SDK)](data/DistributedObjectDms) 62- device 63 - [`DeviceManager`:设备管理(eTS)(API8)(Full SDK)](device/DeviceManager) 64 - [`Sensor`:传感器(eTS)(API8)](device/Sensor) 65 - [`Vibrator`:振动(eTS)(API8)](device/Vibrator) 66 - [`DeviceUsageStatistics`:设备使用信息统计(eTS)(API8)(Full SDK)](device/DeviceUsageStatistics) 67 - [`Browser`:浏览器(eTS)(API9)(Full SDK)](device/Browser) 68 - [`Screen`:屏幕属性(eTS)(API9)(Full SDK)](device/Screen) 69 - [`USBManager`:USB管理(eTS)(API8)](device/USBManager) 70 - [`Bluetooth`:蓝牙(eTS)(API9)(Full SDK)](device/Bluetooth) 71 - [`Location`:位置服务(eTS)(API9)](device/Location) 72- Graphics 73 - [`JsWebGL`:WebGL(JS)(API8)](Graphics/JsWebGL) 74 - [`Window`:窗口(eTS)(API9)](Graphics/Window) 75- media 76 - [`JsAudioPlayer`:音频播放和管理(JS)(API8)](media/JsAudioPlayer) 77 - [`JsVideo`:视频播放(JS)(API8)](media/JsVideo) 78 - [`Recorder`:录音机(eTS)(API8)(Full SDK)](media/Recorder) 79 - [`MultiMedia`:相机和媒体库(eTS)(API9)(Full SDK)](media/MultiMedia) 80 - [`VideoPlayer`:视频播放(eTS)(API9)(Full SDK)](media/VideoPlayer) 81 - [`Image`:图片处理(eTS)(API9)](media/Image) 82 - [`GamePuzzle`:拼图(eTS)(API9)](media/GamePuzzle) 83 - [`Scan`:媒体库相机(eTS)(API9)](media/Scan) 84 - [`VideoShow`:媒体库视频(eTS)(API9)](media/VideoShow) 85 - [`ImageShow`:图片显示(eTS)(API9)](media/ImageShow) 86 - [`MediaCollections`:媒体管理合集(eTS)(API9)(Full SDK)](media/MediaCollections) 87- DFX 88 - [`JsDotTest`:测试打点(JS)(API8)](DFX/JsDotTest) 89 - [`FaultLogger`:故障日志获取(eTS)(API8)](DFX/FaultLogger) 90 - [`Logger`:日志打印(eTS)(API9)](DFX/Logger) 91 - [`Debug`:Debug(eTS)(API9)](DFX/Debug) 92- Safety 93 - [`Cipher`:加解密(eTS)(API8)](Safety/Cipher) 94 - [`AbilityAccessCtrl`:访问权限控制(eTS)(API8)(Full SDK)](Safety/AbilityAccessCtrl) 95- Telephony 96 - [`Call`:拨打电话(eTS)(API8)](Telephony/Call) 97 - [`Message`:短信服务(eTS)(API8)(Full SDK)](Telephony/Message) 98 - [`RadioTech`:网络搜索(eTS)(API8)](Telephony/RadioTech) 99 - [`SimManager`:SIM卡管理(eTS)(API8)](Telephony/SimManager) 100 - [`MobileNetwork`:蜂窝数据(eTS)(API9)](Telephony/MobileNetwork) 101 - [`Observer`:Observer(eTS)(API9)](Telephony/Observer) 102 - [`Contact`:Contact(eTS)(API8)](Telephony/Contact) 103- thread 104 - [`JsWorker`:启动一个worker(JS)(API8)](thread/JsWorker) 105- CompleteApps 106 - [`KikaInput`:轻量级输入法(JS)(API9)(Full SDK)](CompleteApps/KikaInput) 107 - [`FlipClock`:翻页时钟(eTS)(API8)(Full SDK)](CompleteApps/FlipClock) 108- EngineeringCapability 109 - [`Npm`:npm的使用(eTS)(API9)](EngineeringCapability/Npm) 110- ETSUI 111 - [`Canvas`:画布组件(eTS)(API8)](ETSUI/Canvas) 112 - [`CustomComponent`:组件化(eTS)(API8)](ETSUI/CustomComponent) 113 - [`Process`:进程信息(eTS)(API9)(Full SDK)](ETSUI/Process) 114 - [`BuildCommonView`:创建简单视图(eTS)(API8)](ETSUI/BuildCommonView) 115 - [`DefiningPageLayoutAndConnection`:页面布局和连接(eTS)(API8)](ETSUI/DefiningPageLayoutAndConnection) 116 - [`Drag`:拖拽事件(eTS)(API8)](ETSUI/Drag) 117 - [`ArkUIAnimation`:动画(eTS)(API8)](ETSUI/ArkUIAnimation) 118 - [`MediaQuery`:媒体查询(eTS)(API8)](ETSUI/MediaQuery) 119 - [`MouseEvent`:鼠标事件(eTS)(API8)](ETSUI/MouseEvent) 120 - [`Web`:Web(eTS)(API8)](ETSUI/Web) 121 - [`Gallery`:组件集合(eTS)(API8)](ETSUI/Gallery) 122 - [`BringApp`:拉起系统应用(eTS)(API8)(Full SDK)](ETSUI/BringApp) 123 - [`Game2048`:2048游戏(eTS)(API8)](ETSUI/Game2048) 124 - [`Lottie`:Lottie(eTS)(API8)(Full SDK)](ETSUI/Lottie) 125 - [`TransitionAnimation`:转场动画(eTS)(API9)](ETSUI/TransitionAnimation) 126 - [`PatternLock`:图案密码锁组件(eTS)(API9)](ETSUI/PatternLock) 127 - [`Search`:Search组件(eTS)(API9)](ETSUI/Search) 128 - [`QRCode`:二维码(eTS)(API9)(Full SDK)](ETSUI/QRCode) 129 - [`UpgradePopup`:自定义弹窗(eTS)(API9)](ETSUI/UpgradePopup) 130 - [`HealthyDiet`:健康饮食(eTS)(API9)](ETSUI/HealthyDiet) 131- FileManager 132 - [`FileIo`:文件管理(eTS)(API8)](FileManager/FileIo) 133- Notification 134 - [`CommonEvent`:订阅公共事件(eTS)(API8)](Notification/CommonEvent) 135 - [`Emitter`:处理进程内事件(eTS)(API8)](Notification/Emitter) 136 - [`AlarmClock`:后台代理提醒(eTS)(API8)](Notification/AlarmClock) 137 - [`Notification`:订阅、发送通知(eTS)(API9)(Full SDK)](Notification/Notification) 138- Network 139 - [`Http`:数据请求(eTS)(API9)](Network/Http) 140 - [`Socket`:Socket 连接(eTS)(API8)](Network/Socket) 141 - [`WebSocket`:WebSocket(eTS)(API9)](Network/WebSocket) 142 - [`UploadDownload`:上传下载(eTS)(API8)](Network/UploadDownload) 143- Preset 144 - [`Clock`:简单时钟(eTS)(API9)](Preset/Clock) 145 - [`DistributeCalc`:分布式计算器(eTS)(API8)(Full SDK)](Preset/DistributeCalc) 146 - [`DistributedMusicPlayer`:分布式音乐(eTS)(API9)(Full SDK)](Preset/DistributedMusicPlayer) 147- PackageManagement 148 - [`ZipLib`:压缩与解压(eTS)(API8)](PackageManagement/ZipLib) 149- ResourcesSchedule 150 - [`Flybird`:小鸟避障游戏(eTS)(API8)](ResourcesSchedule/Flybird) 151 - [`BackgroundTaskManager`:后台任务管理(eTS)(API8)](ResourcesSchedule/BackgroundTaskManager) 152 - [`WorkScheduler`:延迟任务调度(eTS)(API9)](ResourcesSchedule/WorkScheduler) 153- UI 154 - [`AtomicLayout`:原子布局(JS)(API8)](UI/AtomicLayout) 155 - [`Badge`:事件标记控件(JS)(API8)](UI/Badge) 156 - [`International`:国际化(JS)(API8)](UI/International) 157 - [`JsFA`:FA示例应用(JS)(API8)](UI/JsFA) 158 - [`JsShopping`:购物示例应用(JS)(API8)](UI/JsShopping) 159 - [`JSMenu`:菜单(JS)(API8)](UI/JSMenu) 160 - [`JSUICustomComponent`:自定义组件(JS)(API8)](UI/JSUICustomComponent) 161 - [`JsAnimation`:动效示例应用(JS)(API8)](UI/JsAnimation) 162 - [`JsAnimationStyle`:动画与自定义字体(JS)(API8)](UI/JsAnimationStyle) 163 - [`JsBasicComponents`:基础组件(JS)(API8)](UI/JsBasicComponents) 164 - [`JsBrightness`:设置屏幕亮度(JS)(API8)](UI/JsBrightness) 165 - [`JsCanvas`:画布组件(JS)(API8)](UI/JsCanvas) 166 - [`JsDevice`:设备信息(JS)(API8)](UI/JsDevice) 167 - [`JsDialog`:页面弹窗(JS)(API8)](UI/JsDialog) 168 - [`JsGrid`:栅格布局(JS)(API8)](UI/JsGrid) 169 - [`JsList`:商品列表(JS)(API8)](UI/JsList) 170 - [`JsPanel`:内容展示面板(JS)(API8)](UI/JsPanel) 171 - [`JsRouter`:页面路由(JS)(API8)](UI/JsRouter) 172 - [`JsSvg`:可缩放矢量图形(JS)(API8)](UI/JsSvg) 173 - [`JsTimer`:定时器与系统时间设置(JS)(API8)](UI/JsTimer) 174 - [`Picker`:滑动选择器(JS)(API8)](UI/Picker) 175 - [`Popup`:气泡(JS)(API8)](UI/Popup) 176 - [`RefreshContainer`:下拉刷新容器(JS)(API8)](UI/RefreshContainer) 177 - [`Slider`:滑动条(JS)(API8)](UI/Slider) 178 - [`Stack`:堆叠容器(JS)(API8)](UI/Stack) 179 - [`StepNavigator`:步骤导航器(JS)(API8)](UI/StepNavigator) 180 - [`Swiper`:内容滑动容器(JS)(API8)](UI/Swiper) 181 - [`Tabs`:页签容器(JS)(API8)](UI/Tabs) 182 - [`Toolbar`:工具栏(JS)(API8)](UI/Toolbar) 183 - [`chart`:图表组件(JS)(API8)](UI/chart) 184 - [`JsAdaptivePortalList`:多设备自适应的效率型首页(JS)(API8)](UI/JsAdaptivePortalList) 185 - [`JsAdaptivePortalPage`:多设备自适应的FA页面(JS)(API8)](UI/JsAdaptivePortalPage) 186 - [`JsImage`:基本动画(JS)(API8)](UI/JsImage) 187 - [`JsGallery`:图库示例应用(JS)(API8)](UI/JsGallery) 188 - [`JSComponments`:Js组件(JS)(API8)](UI/JSComponments) 189 - [`JsUserRegistration`:用户注册(JS)(API8)](UI/JsUserRegistration) 190 - [`JsAdaptiveServiceWidget`:多设备自适应服务卡片(JS)(API8)](UI/JsAdaptiveServiceWidget) 191 - [`JsAnimator`:动画(JS)(API8)](UI/JsAnimator) 192- Util 193 - [`UtilBase64Codec`:Base64编解码(eTS)(API8)](Util/UtilBase64Codec) 194 - [`UtilScope`:范围判断(eTS)(API8)](Util/UtilScope) 195 - [`UtilStringCodec`:字符串编解码(eTS)(API8)](Util/UtilStringCodec) 196 - [`UtilLruBuffer`:缓冲区(eTS)(API8)](Util/UtilLruBuffer) 197 - [`UtilRationalNumber`:有理数(eTS)(API8)](Util/UtilRationalNumber) 198 - [`UtilTypeCheck`:内置对象类型检查(eTS)(API8)](Util/UtilTypeCheck) 199 - [`UtilUrlString`:URL字符串解析(eTS)(API8)](Util/UtilUrlString) 200 - [`XmlTextConvert`:xml文本转换(eTS)(API8)](Util/XmlTextConvert) 201- MultiDeviceAppDev 202 - [`AdaptiveCapabilities`:多设备自适应能力(eTS)(API9)](MultiDeviceAppDev/AdaptiveCapabilities) 203 - [`JsAdaptiveCapabilities`:多设备自适应能力(JS)(API8)](MultiDeviceAppDev/JsAdaptiveCapabilities) 204 - [`AppMarket`:一多应用市场首页(eTS)(API9)](MultiDeviceAppDev/AppMarket) 205 - [`Vegetable`:一多蔬菜百科主页(eTS)(API9)](MultiDeviceAppDev/Vegetable) 206 - [`Weather`:一多天气(eTS)(API9)](MultiDeviceAppDev/Weather) 207 - [`MusicAlbum`:一多音乐专辑主页(eTS)(API9)](MultiDeviceAppDev/MusicAlbum) 208- Share 209 - [`Share`:分享(eTS)(API9)(Full SDK)](Share/Share) 210 211## 目录<a name="sectionMenu"></a> 212 213Sample仓下所展示的组件能力: 214 215``` 216app_samples 217|---ability # 页面能力 218|---Account # 账号管理 219|---AppSample # 示例应用 220|---Basic # 基础组件 221|---common # 公共能力 222|---Communication # 通信与连接 223|---CompleteApps # 完整应用 224|---data # 数据管理 225|---device # 设备管理 226|---DFX # 日志打印 227|---EngineeringCapability # 工程能力 228|---ETSUI # eTS UI能力 229|---FileManager # 文件管理 230|---Graphics # 图像绘制 231|---media # 媒体 232|---MultiDeviceAppDev # 一多应用 233|---Native # 调用C++能力 234|---Notification # 消息通知 235|---PackageManagement # 包管理 236|---Preset # 预设应用 237|---ResourcesSchedule # 资源调度 238|---Safety # 安全 239|---Share # 分享 240|---Telephony # 电话功能 241|---thread # 线程操作 242|---UI # Js UI能力 243|---Util # 基础工具类 244``` 245 246 247 248## 约束<a name="section18841871178"></a> 249 250安装应用示例之前,请先查看"README_zh.md"文件来确认应用示例是否为stage模型,若为Stage模型需要查看entry/src/main路径下的module.json5文件中的"deviceType"字段来确认该应用支持的设备类型;否则为FA模型,查看entry/src/main路径下的config.json文件中的"deviceType"字段来确认该应用示例支持的设备类型,两种模型都可尝试通过修改该字段使其可以在相应类型的设备上运行。 251 252 253## 使用方法<a name="section17988202503116"></a> 254 2551. 将独立的应用示例工程导入DevEco Studio进行编译构建及运行调试。 2562. 部分应用示例中含有多个模块,开发者可以选择对单个模块进行编译构建,生成一个HAP应用安装包,也可以对整个工程进行编译构建,生成多个HAP应用安装包。 2573. 安装运行后,即可在设备上查看应用示例运行效果,以及进行相关调试。 258 259## Changlog<a name="section17988202503117"></a> 260 261应用修改记录:[changelog](changelog.md) 262 263## releasenote 264 265应用发布版本分支说明:[releasenote](releasenote.md) 266 267## 相关仓<a name="section17988202503118"></a> 268 2691. [app_sample](https://gitee.com/openharmony/app_samples) 已废弃 2702. [applications_app_sample](https://gitee.com/openharmony/applications_app_samples) 271 272