Name | Date | Size | ||
---|---|---|---|---|
.. | 25-Oct-2024 | 4 KiB | ||
.gitattributes | H A D | 25-Oct-2024 | 673 | |
.gitee/ | H | 25-Oct-2024 | 4 KiB | |
.gitignore | H A D | 25-Oct-2024 | 0 | |
changelog.md | H A D | 25-Oct-2024 | 7.3 KiB | |
code/ | H | 25-Oct-2024 | 4 KiB | |
CodeCommitChecklist.md | H A D | 25-Oct-2024 | 15.4 KiB | |
LICENSE | H A D | 25-Oct-2024 | 13.6 KiB | |
OAT.xml | H A D | 25-Oct-2024 | 208 KiB | |
ohosTestTemplate.md | H A D | 25-Oct-2024 | 3.2 KiB | |
README.md | H A D | 25-Oct-2024 | 7.3 KiB | |
README_zh.md | H A D | 25-Oct-2024 | 34.8 KiB | |
releasenote.md | H A D | 25-Oct-2024 | 314 | |
SampleReadTemplate.md | H A D | 25-Oct-2024 | 8.4 KiB |
README.md
1# App Samples<a name="EN-US_TOPIC_0000001115464207"></a> 2 3- [Introduction](#section1470103520301) 4- [Content](#sectionMenu) 5- [Usage](#section17988202503116) 6- [Limitations](#section18841871178) 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 - [`Screenshot`:Screenshot (ArkTS)(API9)](code/SystemFeature/Media/Screenshot) 16- AppSample 17 - [`Chat`:Chat Sample(ArkTS)(API9)](code/Solutions/IM/Chat) 18- Account 19 - [`AppAccountManager`:App Account Manager (ArkTS)(API9)](code/BasicFeature/Security/AppAccountManager) 20- Communication 21 - [`RPC`:RPC Connection (ArkTS)(API9)](code/BasicFeature/Connectivity/RPC) 22 - [`Wlan`:WLAN (ArkTS)(API9)](code/SystemFeature/Connectivity/Wlan) 23- ability 24 - [`JsDistributedMusicPlayer`:Distributed Music Player(JS)(API10)](code/SuperFeature/DistributedAppDev/JsDistributedMusicPlayer) 25 - [`FormExtAbility`:Stage Form(ArkTS)(API9)](code/SuperFeature/Widget/FormExtAbility) 26 - [`MissionManager`:System Mission Manager(ArkTS)(API9)](code/SystemFeature/ApplicationModels/MissionManager) 27- common 28 - [`Clock`:Clock(JS)(API10)](code/Solutions/Tools/JsClock) 29 - [`DistributeCalc`:Distributed Calculator(JS)(API10)](code/SuperFeature/DistributedAppDev/DistributeCalc) 30 - [`ResourceManager`:Resource Manager(ArkTS)(API9)](code/BasicFeature/Internationalnation/ResourceManager) 31 - [`JsHelloWorld`:'Hello World'(JS)(API8)](common/JsHelloWorld) 32 - [`PowerManager`:System Power Manager(ArkTS)(API9)](code/SystemFeature/DeviceManagement/PowerManager) 33 - [`International`:i18n(ArkTS)(API9)](code/SystemFeature/Internationalnation/International) 34- data 35 - [`KvStore`:Distributed Database(ArkTS)(API9)](code/SuperFeature/DistributedAppDev/Kvstore) 36 - [`DistributedRdb`:Distributed RDB(ArkTS)(API9)](code/SuperFeature/DistributedAppDev/DistributedRdb) 37 - [`Preferences`:Preference(ArkTS)(API9)](code/BasicFeature/DataManagement/Preferences) 38 - [`DistributedNote`:Distributed Memo (ArkTS)(API9)](code/SuperFeature/DistributedAppDev/DistributedNote) 39- device 40 - [`Sensor`:Sensor(ArkTS)(API9)](code/BasicFeature/DeviceManagement/Sensor) 41 - [`Vibrator`:Vibrator(ArkTS)(API9)](code/BasicFeature/DeviceManagement/Vibrator) 42 - [`DeviceUsageStatistics`:Device Usage Statistics(ArkTS)(API9)](code/BasicFeature/DeviceUsageStatistics/DeviceUsageStatistics) 43 - [`Browser`:Browser(ArkTS)(API9)](code/BasicFeature/Web/Browser) 44- Graphics 45 - [`Window`:Window(ArkTS)(API9)](code/BasicFeature/WindowManagement/WindowManage) 46- media 47 - [`Recorder`:Recorder(ArkTS)(API9)](code/BasicFeature/Media/Recorder) 48 - [`MultiMedia`:Multi Media(ArkTS)(API9)](code/Solutions/Media/MultiMedia) 49- DFX 50 - [`FaultLogger`:Fault Logger(ArkTS)(API9)](code/BasicFeature/DFX/FaultLogger) 51 - [`Logger`:Logger(ArkTS)(API9)](code/BasicFeature/DFX/Logger) 52- Telephony 53 - [`Call`:Call(ArkTS)(API9)](code/BasicFeature/Telephony/Call) 54 - [`Message`:Message(ArkTS)(API9)](code/BasicFeature/Telephony/Message) 55 - [`RadioTech`:Radio Tech(ArkTS)(API9)](code/BasicFeature/Telephony/RadioTech) 56 - [`SimManager`:SIM Card Manager(ArkTS)(API9)](code/BasicFeature/Telephony/SimManager) 57 - [`MobileNetwork`:Cellular Network(ArkTS)(API9)](code/BasicFeature/Telephony/MobileNetwork) 58- thread 59 - [`JsWorker`:Launch a worker(JS)(API9)](code/LaunguageBaseClassLibrary/JsWorker) 60- CompleteApps 61 - [`KikaInput`:Lite Input Method(JS)(API10)](code/Solutions/InputMethod/KikaInput) 62 - [`FlipClock`:Flip Clock(ArkTS)(API9)](code/Solutions/Tools/FlipClock) 63- ETSUI 64 - [`Canvas`:Canvas(ArkTS)(API9)](code/UI/ArkTsComponentCollection/Canvas) 65 - [`DefiningPageLayoutAndConnection`:Defining Page Layout and Connection(ArkTS)(API9)](code/UI/ArkTsComponentCollection/DefiningPageLayoutAndConnection) 66 - [`Drag`:Drag (ArkTS)(API9)](code/UI/ArkTsComponentCollection/Drag) 67 - [`MediaQuery`:Media Query (ArkTS)(API9)](code/UI/ArkTsComponentCollection/MediaQuery) 68 - [`AdaptiveCapabilities`:AdaptiveCapabilities(ArkTS)(API9)](code/SuperFeature/MultiDeviceAppDev/AdaptiveCapabilities) 69 - [`Game2048`:2048 Game(ArkTS)(API9)](code/Solutions/Game/Game2048) 70 - [`Lottie`:Lottie(ArkTS)(API9)](code/Solutions/Game/Lottie) 71- Notification 72 - [`CustomCommonEvent`:Custom Common Event(ArkTS)(API9)](code/BasicFeature/Notification/CustomCommonEvent) 73 - [`CustomEmitter`:Custom Emitter (ArkTS)(API9)](code/BasicFeature/Notification/CustomEmitter) 74 - [`CustomNotification`:Subscribe&Send Notification (ArkTS)(API9)](code/BasicFeature/Notification/CustomNotification) 75- Network 76 - [`Http`:http Request(ArkTS)(API9)](code/BasicFeature/Connectivity/Http) 77 - [`Socket`:Socket(ArkTS)(API9)](code/BasicFeature/Connectivity/Socket) 78- Preset 79 - [`ArkTSClock`:Clock(ArkTS)(API9)](code/Solutions/Tools/ArkTSClock) 80 - [`ArkTSDistributeCalc`:Distributed Calculator(ArkTS)(API9)](code/SuperFeature/DistributedAppDev/ArkTSDistributedCalc) 81 - [`ArkTSDistributedMusicPlayer`:Distributed Music Player (ArkTS)(API9)](code/SuperFeature/DistributedAppDev/ArkTSDistributedMusicPlayer) 82- PackageManagement 83 - [`ZipLib`:zip&unzip(ArkTS)(API9)](code/LaunguageBaseClassLibrary/ZipLib) 84- ResourcesSchedule 85 - [`Flybird`:Game(ArkTS)(API9)](code/BasicFeature/TaskManagement/Flybird) 86- UI 87 - [`AtomicLayout`:Atomic Layout(JS)(API8)](UI/AtomicLayout) 88 - [`Badge`:Badge(JS)(API8)](UI/Badge) 89 - [`JsAnimationStyle`:Animation Style(JS)(API8)](UI/JsAnimationStyle) 90 91## Usage<a name="section17988202503116"></a> 92 931. Import an independent app sample project into DevEco Studio for compilation, building, running, and debugging. 942. 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. 953. After HAP installation and execution, you can view the execution effect of the sample on the device and then conduct debugging. 96 97## Limitations<a name="section18841871178"></a> 98 991. 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.\) 1002. 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). 1013. App samples that can run on standard-system or small-system devices (as stipulated in **Readme**) must run on OpenHarmony. 102
README_zh.md
1# app_samples部件<a name="ZH-CN_TOPIC_0000001115464207"></a> 2 3## 简介<a name="section1470103520301"></a> 4 5为帮助开发者快速熟悉OpenHarmony SDK所提供的API和应用开发流程,我们提供了一系列的应用示例,即Sample。每一个应用示例都是一个独立的DevEco Studio工程项目,开发者可以将工程导入到DevEco Studio开发工具,通过浏览代码、编译工程、安装和运行应用示例来了解应用示例中涉及API的使用方法。 6 7**编码规范** 8 9<!-- 10 11【示例贡献温馨提示】感谢您关注OpenHarmony,如果您希望提交代码样例/示例/Demo,请参考知识体系的[《如何共建开发样例》](https://gitee.com/openharmony-sig/knowledge/blob/master/docs/co-construct_demos/README_zh.md),首先提交到SIG(兴趣组)仓,知识体系SIG仓中的提交也是有效贡献。再次感谢您的关注!) 12 13--> 14 15<table width="990" border="0" cellpadding="0" cellspacing="0" style='border-collapse:collapse;table-layout:fixed;'> 16 <tr height="18" style='height:13.50pt;'> 17 <td width="330"><a href="CodeCommitChecklist.md#社区共建Sample合入要求" target="_blank">社区共建Sample合入要求</a></td> 18 <td width="330"><a href="CodeCommitChecklist.md#代码规范" target="_blank">代码规范</a></td> 19 <td width="330"><a href="CodeCommitChecklist.md#readme编写规范" target="_blank">README编写规范</a></td> 20 </tr> 21 <tr height="18" style='height:13.50pt;'> 22 <td width="330"><a href="CodeCommitChecklist.md#ui自动化用例编写规范" target="_blank">UI自动化用例编写规范</a></td> 23 <td width="330"><a href="CodeCommitChecklist.md#工程结构规范" target="_blank">工程结构规范</a></td> 24 <td width="330"><a href="CodeCommitChecklist.md#pr提交格式规范" target="_blank">PR提交格式规范</a></td> 25 </tr> 26</table> 27 28**架构组成** 29 30<table width="990" border="0" cellpadding="0" cellspacing="0" style='border-collapse:collapse;table-layout:fixed;'> 31 <tr height="18" style='height:13.50pt;'> 32 <td width="140" x:str><strong>一级分类</strong></td> 33 <td width="170" x:str><strong>子分类</strong></td> 34 <td width="680" colspan="4" align="center" x:str><strong>应用示例</strong></td> 35 </tr> 36 <tr height="18" style='height:13.50pt;'> 37 <td width="140" align="center" rowspan="1" style='height:27.00pt' x:str><strong>UI</strong></td> 38 <td x:str><strong>声明式开发范式</strong></td> 39 <td width="170" x:str><a href="code/UI/ArkTsComponentCollection/ComponentCollection">ArkTS组件集(API 11)</a></td> 40 <td width="170" x:str><a href="code/UI/ArkTsComponentCollection/MediaQuery">横竖屏切换</a></td> 41 <td width="170" x:str><a href="code/UI/ArkTsComponentCollection/DefiningPageLayoutAndConnection">页面布局和连接</a></td> 42 <td width="170" x:str><a href="code/UI/ArkTsComponentCollection/StateManagement">状态管理</a></td> 43 </tr> 44 <tr height="18" style='height:13.50pt;'> 45 <td height="270" align="center" rowspan="30" style='height:202.50pt' x:str><strong>基础特性</strong></td> 46 <td x:str><strong>能力增强</strong></td> 47 <td x:str><a href="code/BasicFeature/Ability/AbilityFeature">基础能力增强</a></td> 48 <td x:str><a href="code/BasicFeature/Ability/AppStartup">应用启动框架startup</a></td> 49 <td x:str><a href="code/BasicFeature/Ability/AbilityRuntime">基础能力增强</a></td> 50 <td x:str><a href="code/BasicFeature/Ability/UniversalLink">基础能力增强</a></td> 51 </tr> 52 <tr height="18" style='height:13.50pt;'> 53 <td x:str><strong>广告</strong></td> 54 <td x:str><a href="code/BasicFeature/Ads/OAIDSample">广告标识服务Sample</a></td> 55 <td ></td> 56 <td ></td> 57 <td ></td> 58 </tr> 59 <tr height="18" style='height:13.50pt;'> 60 <td x:str><strong>应用模型</strong></td> 61 <td x:str><a href="code/BasicFeature/ApplicationModels/AbilityStartMode">Ability的启动方式</a></td> 62 <td x:str><a href="code/BasicFeature/ApplicationModels/DynamicRouter">Navigation动态路由</a></td> 63 <td x:str><a href="code/BasicFeature/ApplicationModels/BundleManager/BundleManagement">支持5.0特性能力sample</a></td> 64 <td x:str><a href="code/BasicFeature/ApplicationModels/SystemRouter">Navigation系统路由</a></td> 65 </tr> 66 <tr height="18" style='height:13.50pt;'> 67 <td x:str><strong>通知</strong></td> 68 <td x:str><a href="code/BasicFeature/Notification/CustomEmitter">自定义Emitter</a></td> 69 <td x:str><a href="code/BasicFeature/Notification/CustomNotification">自定义通知(API 10)</a></td> 70 <td x:str><a href="code/BasicFeature/Notification/CustomCommonEvent">公共事件的订阅和发布(API 11)</a></td> 71 <td x:str><a href="code/BasicFeature/Notification/CustomNotificationBadge">自定义通知角标(API 10)</a></td> 72 </tr> 73 <tr height="18" style='height:13.50pt;'> 74 <td x:str><strong>Web</strong></td> 75 <td x:str><a href="code/BasicFeature/Web/Browser">浏览器</a></td> 76 <td x:str><a href="code/BasicFeature/Web/RunJsInWeb">JS注入与执行</a></td> 77 <td ></td> 78 <td ></td> 79 </tr> 80 <tr height="18" style='height:13.50pt;'> 81 <td rowspan="4" x:str><strong>媒体</strong></td> 82 <td x:str><a href="code/BasicFeature/Media/Image">图片显示及处理(API 11)</a></td> 83 <td x:str><a href="code/BasicFeature/Media/VideoShow">媒体库视频</a></td> 84 <td x:str><a href="code/BasicFeature/Media/ImageShow">图片显示</a></td> 85 <td x:str><a href="code/BasicFeature/Media/ImageEffect">图片编辑</a></td> 86 </tr> 87 <tr height="18" style='height:13.50pt;'> 88 <td x:str><a href="code/BasicFeature/Media/QRCodeScan">二维码扫描</a></td> 89 <td x:str><a href="code/BasicFeature/Media/VideoPlay">视频播放(API 12)</a></td> 90 <td x:str><a href="code/BasicFeature/Media/AVSession/MediaProvider">媒体会话——提供方(API 10)</a></td> 91 <td x:str><a href="code/BasicFeature/Media/AVSession/AvCastPickerForCall">通话设备切换</a></td> 92 </tr> 93 <tr height="18" style='height:13.50pt;'> 94 <td x:str><a href="code/BasicFeature/Media/AVRecorder">音视频录制</a></td> 95 <td x:str><a href="code/BasicFeature/Media/Audio">音频管理(API 12)</a></td> 96 <td x:str><a href="code/BasicFeature/Media/AudioHaptic">音振</a></td> 97 <td x:str><a href="code/BasicFeature/Media/AVSession/VideoPlayer">视频播放</a></td> 98 </tr> 99 <tr height="18" style='height:13.50pt;'> 100 <td x:str><a href="code/BasicFeature/Media/Camera">相机示例</a></td> 101 <td x:str><a href="code/BasicFeature/Media/Camera_js">相机示例(JS)</a></td> 102 <td ></td> 103 <td ></td> 104 </tr> 105 <tr height="18" style='height:13.50pt;'> 106 <td rowspan="2"><strong>安全</strong></td> 107 <td x:str><a href="code/BasicFeature/Security/Cipher">加解密</a></td> 108 <td x:str><a href="code/BasicFeature/Security/AppAccountManager">应用帐号管理</a></td> 109 <td x:str><a href="code/BasicFeature/Security/CryptoFramework">通用密钥库系统(cryptoFramework)</a></td> 110 <td x:str><a href="code/BasicFeature/Security/Asset">关键资产存储</a></td> 111 </tr> 112 <tr height="18" style='height:13.50pt;'> 113 <td x:str><a href="code/BasicFeature/Security/Huks">通用密钥库系统(huks)(API 10)</a></td> 114 <td x:str><a href="code/BasicFeature/Security/PaySecurely">支付</a></td> 115 <td x:str><a href="code/BasicFeature/Security/CertManager">证书管理</a></td> 116 <td ></td> 117 </tr> 118 <tr height="18" style='height:13.50pt;'> 119 <td rowspan="2" x:str><strong>网络与连接</strong></td> 120 <td x:str><a href="code/BasicFeature/Connectivity/Http">Http(API 10)</a></td> 121 <td x:str><a href="code/BasicFeature/Connectivity/RPC">RPC通信</a></td> 122 <td x:str><a href="code/BasicFeature/Connectivity/Socket">网络管理-Socket连接(UDP)</a></td> 123 <td x:str><a href="code/BasicFeature/Connectivity/WebSocket">WebSocket</a></td> 124 </tr> 125 <tr height="18" style='height:13.50pt;'> 126 <td x:str><a href="code/BasicFeature/Connectivity/StageSocket">Socket连接</a></td> 127 <td x:str><a href="code/BasicFeature/Connectivity/Bluetooth">蓝牙</a></td> 128 <td x:str><a href="code/BasicFeature/Connectivity/UploadAndDownLoad">上传和下载(API 10)</a></td> 129 <td x:str><a href="code/BasicFeature/Connectivity/VPN">VPN连接</a></td> 130 </tr> 131 <tr height="18" style='height:13.50pt;'> 132 <td x:str><strong>数据管理</strong></td> 133 <td x:str><a href="code/BasicFeature/DataManagement/Preferences">首选项</a></td> 134 <td x:str><a href="code/BasicFeature/DataManagement/UDMF/UDMFDemo">UDMF Demo</a></td> 135 <td x:str><a href="code/BasicFeature/DataManagement/pasteboard">剪贴板Sample</a></td> 136 <td ></td> 137 </tr> 138 <tr height="18" style='height:13.50pt;'> 139 <td rowspan="1" x:str><strong>文件管理</strong></td> 140 <td x:str><a href="code/BasicFeature/FileManagement/FileBackupExtension">应用接入数据备份恢复(API 11)</a></td> 141 <td x:str><a href="code/BasicFeature/FileManagement/FileShare/SandboxShare">文件分享与访问</a></td> 142 <td x:str><a href="code/BasicFeature/Extension/Contexttest">extension示例</a></td> 143 <td ></td> 144 </tr> 145 <tr height="18" style='height:13.50pt;'> 146 <td rowspan="2" x:str><strong>图像</strong></td> 147 <td x:str><a href="code/BasicFeature/Graphics/DisplaySync">DisplaySync分级管控</a></td> 148 <td x:str><a href="code/BasicFeature/Graphics/DisplaySoloist">DisplaySoloist分级管控</a></td> 149 <td ></td> 150 <td ></td> 151 </tr> 152 <tr height="18" style='height:13.50pt;'> 153 <td x:str><a href="code/BasicFeature/Graphics/Graphics2d/ExpandText">字体文本展开</a></td> 154 <td x:str><a href="code/BasicFeature/Graphics/Graphics2d/PaintVerbatim">字体绘制</a></td> 155 <td x:str><a href="code/BasicFeature/Graphics/Graphics3d">3D引擎接口示例</a></td> 156 <td ></td> 157 </tr> 158 <tr height="18" style='height:13.50pt;'> 159 <td rowspan="2" x:str><strong>设备管理</strong></td> 160 <td x:str><a href="code/BasicFeature/DeviceManagement/Location">位置服务</a></td> 161 <td x:str><a href="code/BasicFeature/DeviceManagement/ScreenDetector">屏幕探测</a></td> 162 <td x:str><a href="code/BasicFeature/DeviceManagement/DeviceManagementCollection">设备管理合集(API 10)</a></td> 163 <td x:str><a href="code/BasicFeature/DeviceManagement/Vibrator/CustomHaptic">自定义振动(API 10)</a></td> 164 </tr> 165 <tr height="18" style='height:13.50pt;'> 166 <td x:str><a href="code/BasicFeature/DeviceManagement/Vibrator/BasicVibration">振动</a></td> 167 <td x:str><a href="code/BasicFeature/DeviceManagement/Sensor/Capi">传感器</a></td> 168 <td x:str><a href="code/BasicFeature/Print/ScanNapiInterfaceDemo">扫描仪应用demo</a></td> 169 <td ></td> 170 </tr> 171 <tr height="18" style='height:13.50pt;'> 172 <td rowspan="2" x:str><strong>电话服务</strong></td> 173 <td x:str><a href="code/BasicFeature/Telephony/SimManager">SIM卡管理</a></td> 174 <td x:str><a href="code/BasicFeature/Telephony/Contact">联系人</a></td> 175 <td x:str><a href="code/BasicFeature/Telephony/Observer">网络和Sim卡状态订阅</a></td> 176 <td x:str><a href="code/BasicFeature/Telephony/RadioTech">网络搜索</td> 177 </tr> 178 <tr height="18" style='height:13.50pt;'> 179 <td x:str><a href="code/BasicFeature/Telephony/MobileNetwork">蜂窝数据</a></td> 180 <td ></td> 181 <td ></td> 182 <td ></td> 183 </tr> 184 <tr height="18" style='height:13.50pt;'> 185 <td x:str><strong>任务管理</strong></td> 186 <td x:str><a href="code/BasicFeature/TaskManagement/ReminderAgentManager">后台代理提醒</a></td> 187 <td x:str><a href="code/BasicFeature/TaskManagement/ContinuousTask">长时任务</a></td> 188 <td ></td> 189 <td ></td> 190 </tr> 191 <tr height="18" style='height:13.50pt;'> 192 <td rowspan="2" x:str><strong>DFX</strong></td> 193 <td x:str><a href="code/BasicFeature/DFX/Debug">Debug调试</a></td> 194 <td ><a href="code/BasicFeature/DFX/DotTest">测试打点</a></td> 195 <td ><a href="code/BasicFeature/DFX/FaultLogger">故障日志获取</a></td> 196 <td ><a href="code/BasicFeature/DFX/Logger">日志打印</a></td> 197 </tr> 198 <tr height="18" style='height:13.50pt;'> 199 <td x:str><a href="code/BasicFeature/DFX/AppRecovery">应用故障恢复(API 10)</a></td> 200 <td ></td> 201 <td ></td> 202 <td ></td> 203 </tr> 204 <tr height="18" style='height:13.50pt;'> 205 <td x:str><strong>资源</strong></td> 206 <td x:str><a href="code/BasicFeature/Resource/ResourceManager">资源管理(API 10)</a></td> 207 <td ></td> 208 <td ></td> 209 <td ></td> 210 </tr> 211 <tr height="18" style='height:13.50pt;'> 212 <td x:str><strong>国际化</strong></td> 213 <td x:str><a href="code/BasicFeature/International/International">国际化</a></td> 214 <td ></td> 215 <td ></td> 216 <td ></td> 217 </tr> 218 <tr height="18" style='height:13.50pt;'> 219 <td rowspan="4" x:str><strong>Native</strong></td> 220 <td x:str><a href="code/BasicFeature/Native/NdkRawfile">获取Rawfile资源</a></td> 221 <td x:str><a href="code/BasicFeature/Native/NdkXComponent">Native XComponent(API 10)</a></td> 222 <td x:str><a href="code/BasicFeature/Native/NdkOpenGL">OpenGL三棱椎(API 10)</a></td> 223 <td x:str><a href="code/BasicFeature/Native/Audio">音频管理</a></td> 224 </tr> 225 <tr height="18" style='height:13.50pt;'> 226 <td x:str><a href="code/BasicFeature/Native/NdkDrawing">Native Drawing</a></td> 227 <td x:str><a href="code/BasicFeature/Native/NdkNativeWindow">Native Window</a></td> 228 <td x:str><a href="code/BasicFeature/Native/XComponent3D">XComponent3D</a></td> 229 <td x:str><a href="code/BasicFeature/Native/NdkRenderNodeDrawing">Native RenderNode Drawing</a></td> 230 </tr> 231 <tr height="18" style='height:13.50pt;'> 232 <td x:str><a href="code/BasicFeature/Native/NdkTsDrawing">NdkTsDrawing</a></td> 233 <td x:str><a href="code/BasicFeature/Native/NdkQoS">Native QoS</a></td> 234 <td x:str><a href="code/BasicFeature/Native/NdkVulkan">XComponent组件对接Vulkan</a></td> 235 <td x:str><a href="code/BasicFeature/Native/XComponent">XComponent</a></td> 236 </tr> 237 <tr height="18" style='height:13.50pt;'> 238 <td x:str><a href="code/BasicFeature/Native/NdkNotification">Native Notification</a></td> 239 <td ></td> 240 <td ></td> 241 <td ></td> 242 </tr> 243 <tr height="18" style='height:13.50pt;'> 244<td height="90" align="center" rowspan="26" style='height:67.50pt;' x:str><strong>系统特性(仅对系统应用开放)</strong></td> 245 <td x:str><strong>能力增强</strong></td> 246 <td x:str><a href="code/SystemFeature/Ability/AbilityFeatureSystem">基础能力增强</a></td> 247 <td ></td> 248 <td ></td> 249 <td ></td> 250 </tr> 251 <tr height="18" style='height:13.50pt;'> 252 <td rowspan="3" x:str><strong>应用模型</strong></td> 253 <td x:str><a href="code/SystemFeature/ApplicationModels/Launcher">仿桌面应用(API 10)</a></td> 254 <td x:str><a href="code/SystemFeature/ApplicationModels/MissionManager">任务管理</a></td> 255 <td x:str><a href="code/SystemFeature/ApplicationModels/StaticSubscriber">静态订阅(API 10)</a></td> 256 <td x:str><a href="code/SystemFeature/ApplicationModels/AccessibilityExtAbility">无障碍扩展</a></td> 257 </tr> 258 <tr height="18" style='height:13.50pt;'> 259 <td x:str><a href="code/SystemFeature/ApplicationModels/EnterpriseAdminExtensionAbility">企业设备管理扩展</a></td> 260 <td x:str><a href="code/SystemFeature/ApplicationModels/TestRely/LauncherTest/CrossChainBack">跨任务链返回</a></td> 261 <td x:str><a href="code/SystemFeature/ApplicationModels/TestRely/LauncherTest/StartRecentAbility">启动上一次的组件实例</a></td> 262 <td x:str><a href="code/SystemFeature/ApplicationModels/StageModel">Stage模型(API10)</a></td> 263 </tr> 264 <tr height="18" style='height:13.50pt;'> 265 <td x:str><a href="code/SystemFeature/ApplicationModels/CustomShare">自定义分享(API 10)</a></td> 266 <td x:str><a href="code/SystemFeature/ApplicationModels/EmbeddedUIExtensionAbility">EmbeddedUIExtensionAbility</a></td> 267 <td x:str><a href="code/SystemFeature/ApplicationModels/UIExtensionAbility">UIExtensionAbility</a></td> 268 <td ></td> 269 </tr> 270 <tr height="18" style='height:13.50pt;'> 271 <td x:str><strong>自动填充</strong></td> 272 <td x:str><a href="code/SystemFeature/AutoFill/AutoFill">AutoFill自动填充能力</a></td> 273 <td x:str><a href="code/SystemFeature/AutoFill/AutoFillScenarioization">情景化自动填充能力</a></td> 274 <td ></td> 275 <td ></td> 276 </tr> 277 <tr height="18" style='height:13.50pt;'> 278 <td x:str><strong>全屏启动原子化服务</strong></td> 279 <td x:str><a href="code/SystemFeature/FullScreenStart/FullScreenStart">全屏启动原子化服务</a></td> 280 <td x:str><a href="code/SystemFeature/FullScreenStart/FullScreenStart_Service">原子化服务</a></td> 281 <td ></td> 282 <td ></td> 283 </tr> 284 <tr height="18" style='height:13.50pt;'> 285 <td rowspan="2" x:str><strong>媒体</strong></td> 286 <td x:str><a href="code/SystemFeature/Media/Screenshot">截屏</a></td> 287 <td x:str><a href="code/SystemFeature/Media/ScreenRecorder">录屏</a></td> 288 <td x:str><a href="code/SystemFeature/Media/Camera">相机和媒体库(API 10)</a></td> 289 <td x:str><a href="code/SystemFeature/Media/Audio">音频管理(仅对系统应用开放)</a></td> 290 </tr> 291 <tr height="18" style='height:13.50pt;'> 292 <td x:str><a href="code/SystemFeature/Media/AVSession/MediaController">媒体会话——控制方(API 10)</a></td> 293 <td x:str><a href="code/SystemFeature/Media/VoiceCallDemo">音频通话示例(API 10)</a></td> 294 <td x:str><a href="code/SystemFeature/Media/Recorder">录音机</a></td> 295 <td x:str><a href="code/SystemFeature/Media/GamePuzzle">图片裁剪与分割</a></td> 296 </tr> 297 <tr height="18" style='height:13.50pt;'> 298 <td x:str><strong>通知</strong></td> 299 <td x:str><a href="code/SystemFeature/Notification/Publish">实况通知推送</a></td> 300 <td x:str><a href="code/SystemFeature/Notification/Subscribe">通知发布订阅</a></td> 301 <td x:str><a href="code/SystemFeature/Notification/CustomNotificationPush">自定义通知推送(API 10)</a></td> 302 <td ></td> 303 </tr> 304 <tr height="18" style='height:13.50pt;'> 305 <td rowspan="2" x:str><strong>安全</strong></td> 306 <td x:str><a href="code/SystemFeature/Security/AbilityAccessCtrl">应用访问权限控制</a></td> 307 <td x:str><a href="code/SystemFeature/Security/AuthorizedButton">安全控件类型的UI控件(API 10)</a></td> 308 <td x:str><a href="code/SystemFeature/Security/DLP">DLP</a></td> 309 <td x:str><a href="code/SystemFeature/Security/CertificateFramework">证书算法库框架</a></td> 310 </tr> 311 <tr height="18" style='height:13.50pt;'> 312 <td x:str><a href="code/SystemFeature/Security/DLPManager">DLPManager</a></td> 313 <td ></td> 314 <td ></td> 315 <td ></td> 316 </tr> 317 <tr height="18" style='height:13.50pt;'> 318 <td x:str><strong>窗口管理</strong></td> 319 <td x:str><a href="code/SystemFeature/WindowManagement/WindowExtAbility">窗口扩展</a></td> 320 <td x:str><a href="code/SystemFeature/WindowManagement/WindowRatio">悬浮窗(API 10)</a></td> 321 <td x:str><a href="code/SystemFeature/WindowManagement/WindowManage">窗口管理(API 12)</a></td> 322 <td ></td> 323 </tr> 324 <tr height="18" style='height:13.50pt;'> 325 <td x:str><strong>网络与连接</strong></td> 326 <td x:str><a href="code/SystemFeature/Connectivity/Wlan">WLAN</a></td> 327 <td x:str><a href="code/SystemFeature/Connectivity/Bluetooth">蓝牙</a></td> 328 <td ></td> 329 <td ></td> 330 </tr> 331 <tr height="18" style='height:13.50pt;'> 332 <td x:str><strong>数据管理</strong></td> 333 <td x:str><a href="code/SystemFeature/DataManagement/CrossAppDataShare">跨应用数据共享</a></td> 334 <td ></td> 335 <td ></td> 336 <td ></td> 337 </tr> 338 <tr height="18" style='height:13.50pt;'> 339 <td x:str><strong>卡片能力增强</strong></td> 340 <td x:str><a href="code/SystemFeature/ArkTSCard/ArkTSCard">ArkTs卡片能力增强</a></td> 341 <td ></td> 342 <td ></td> 343 <td ></td> 344 </tr> 345 <tr height="18" style='height:13.50pt;'> 346 <td x:str><strong>设备管理</strong></td> 347 <td x:str><a href="code/SystemFeature/DeviceManagement/StorageStatistic">存储空间统计(API 10)</a></td> 348 <td x:str><a href="code/SystemFeature/DeviceManagement/Screen">屏幕属性(API 10)</a></td> 349 <td x:str><a href="code/SystemFeature/DeviceManagement/DeviceManagementCollection">设备管理合集(API 11)</a></td> 350 <td x:str><a href="code/SystemFeature/DeviceManagement/Mouse">鼠标外设(API 10)</a></td> 351 </tr> 352 <tr height="18" style='height:13.50pt;'> 353 <td x:str><strong>设备信息统计</strong></td> 354 <td x:str><a href="code/SystemFeature/DeviceUsageStatistics/DeviceUsageStatistics">设备使用信息统计</a></td> 355 <td ></td> 356 <td ></td> 357 <td ></td> 358 </tr> 359 <tr height="18" style='height:13.50pt;'> 360 <td x:str><strong>IDL</strong></td> 361 <td x:str><a href="code/SystemFeature/IDL/AbilityConnectServiceExtension">Ability与ServiceExtensionAbility通信</a></td> 362 <td x:str></td> 363 <td x:str></td> 364 <td x:str></td> 365 </tr> 366 <tr height="18" style='height:13.50pt;'> 367 <td x:str><strong>分布式</strong></td> 368 <td x:str><a href="code/SystemFeature/DistributedAppDev/DistributedAccount">分布式帐号(API 10)</a></td> 369 <td x:str><a href="code/SystemFeature/DistributedAppDev/DistributedAuthentication">分布式组网认证(API 10)</a></td> 370 <td ></td> 371 <td ></td> 372 </tr> 373 <tr height="18" style='height:13.50pt;'> 374 <td x:str><strong>文件管理</strong></td> 375 <td x:str><a href="code/SystemFeature/FileManagement/FileShare/Picker">选择并查看文档与媒体文件(API 10)</a></td> 376 <td x:str><a href="code/SystemFeature/FileManagement/Photos">相册(API 12)</a></td> 377 <td x:str><a href="code/SystemFeature/FileManagement/MediaCollections">媒体管理合集</a></td> 378 <td x:str><a href="code/SystemFeature/FileManagement/FileManager">文件管理(API 11)</a></td> 379 </tr> 380 <tr height="18" style='height:13.50pt;'> 381 <td x:str><strong>资源配置</strong></td> 382 <td x:str><a href="code/SystemFeature/ResourceAllocation/ApplicationThemeSwitch">应用主题切换</a></td> 383 <td ></td> 384 <td ></td> 385 <td ></td> 386 </tr> 387 <tr height="18" style='height:13.50pt;'> 388 <td x:str><strong>电话服务</strong></td> 389 <td x:str><a href="code/SystemFeature/TaskManagement/Flybird">小鸟避障游戏</a></td> 390 <td x:str><a href="code/SystemFeature/TaskManagement/TransientTask">短时任务</a></td> 391 <td x:str><a href="code/SystemFeature/TaskManagement/WorkScheduler">延迟任务调度</a></td> 392 <td ></td> 393 </tr> 394 <tr height="18" style='height:13.50pt;'> 395 <td x:str><strong>任务管理</strong></td> 396 <td x:str><a href="code/SystemFeature/Telephony/Message">短信</a></td> 397 <td x:str><a href="code/SystemFeature/Telephony/Call">拨打电话</a></td> 398 <td ></td> 399 <td ></td> 400 </tr> 401<tr height="18" style='height:13.50pt;'> 402 <td x:str><strong>基础能力增强</strong></td> 403 <td x:str><a href="code/SystemFeature/UIExtensionSamples">基础能力增强</a></td> 404 <td ></td> 405 <td ></td> 406 <td ></td> 407 </tr> 408 <tr height="18" style='height:13.50pt;'> 409 <td x:str><strong>国际化</strong></td> 410 <td x:str><a href="code/SystemFeature/Internationalnation/International">时区和语言设置(API 10)</a></td> 411 <td ></td> 412 <td ></td> 413 <td ></td> 414 </tr> 415 <tr height="18" style='height:13.50pt;'> 416 <td x:str><strong>卡片</strong></td> 417 <td x:str><a href="code/SystemFeature/Widget/FormExtAbility">Stage模型卡片</a></td> 418 <td x:str><a href="code/SystemFeature/Widget/RequestAddForm">应用主动添加数据代理卡片到桌面</a></td> 419 <td ></td> 420 <td ></td> 421 </tr> 422 <tr height="18" style='height:13.50pt;'> 423 <td height="90" align="center" rowspan="8" style='height:67.50pt;' x:str><strong>关键特性</strong></td> 424 <td rowspan="3" x:str><strong>一次开发,多端部署</strong></td> 425 <td x:str><a href="code/SuperFeature/MultiDeviceAppDev/AdaptiveCapabilities">ArkTS一多能力集合(API 10)</a></td> 426 <td x:str><a href="code/SuperFeature/MultiDeviceAppDev/JsAdaptiveCapabilities">JS一多能力集合</a></td> 427 <td x:str><a href="code/SuperFeature/MultiDeviceAppDev/Weather">入门示例:天气应用</a></td> 428 <td x:str><a href="code/SuperFeature/MultiDeviceAppDev/HealthyDiet">典型页面场景:健康饮食</a></td> 429 </tr> 430 <tr height="18" style='height:13.50pt;'> 431 <td x:str><a href="code/SuperFeature/MultiDeviceAppDev/AppMarket">典型页面场景:应用市场首页</a></td> 432 <td x:str><a href="code/SuperFeature/MultiDeviceAppDev/MusicAlbum">典型页面场景:音乐专辑页</a></td> 433 <td x:str><a href="code/SuperFeature/MultiDeviceAppDev/Settings">典型页面场景:设置应用页面</a></td> 434 <td x:str><a href="code/SuperFeature/MultiDeviceAppDev/MultiColumns">典型页面场景:一多分栏控件(API 10)</a></td> 435 </tr> 436 <tr height="18" style='height:13.50pt;'> 437 <td x:str><a href="code/SuperFeature/MultiDeviceAppDev/MultiNavBar">典型页面场景:一多导航栏(API 10)</a></td> 438 <td x:str><a href="code/SuperFeature/MultiDeviceAppDev/MultiMusic">典型页面场景:一多音乐典型场景</a></td> 439 <td ></td> 440 <td ></td> 441 </tr> 442 <tr height="18" style='height:13.50pt;'> 443 <td rowspan="3" x:str><strong>分布式</strong></td> 444 <td x:str><a href="code/SuperFeature/DistributedAppDev/ArkTSDistributedMusicPlayer">ArkTS分布式音乐播放</a></td> 445 <td x:str><a href="code/SuperFeature/DistributedAppDev/JsDistributedMusicPlayer">JS分布式音乐播放(API 10)</a></td> 446 <td x:str><a href="code/SuperFeature/DistributedAppDev/ArkTSDistributedCalc">分布式计算器(API 10)</a></td> 447 <td x:str><a href="code/SuperFeature/DistributedAppDev/DistributeCalc">JS分布式计算器(API 10)</a></td> 448 </tr> 449 <tr height="18" style='height:13.50pt;'> 450 <td x:str><a href="code/SuperFeature/DistributedAppDev/DistributedNote">分布式对象(API 10)</a></td> 451 <td x:str><a href="code/SuperFeature/DistributedAppDev/DistributedRdb">分布式关系型数据库(API 10)</a></td> 452 <td x:str><a href="code/SuperFeature/DistributedAppDev/Kvstore">分布式数据管理</a></td> 453 <td x:str><a href="code/SuperFeature/DistributedAppDev/DistributedFilemanager">分布式文件管理</a></td> 454 </tr> 455 <tr height="18" style='height:13.50pt;'> 456 <td x:str><a href="code/SuperFeature/DistributedAppDev/DistributedJotNote">跨端迁移随手记</a></td> 457 <td ></td> 458 <td ></td> 459 <td ></td> 460 </tr> 461 <tr height="18" style='height:13.50pt;'> 462 <td rowspan="2" x:str><strong>卡片</strong></td> 463 <td x:str><a href="code/SuperFeature/Widget/AdaptiveServiceWidget">JS多设备自适应服务卡片</a></td> 464 <td x:str><a href="code/SuperFeature/Widget/FormGame">Stage模型卡片JS与C++通信(API 10)</a></td> 465 <td x:str><a href="code/SuperFeature/Widget/ArkTSCard/CanvasGame">ArkTS卡片Canvas小游戏</a></td> 466 <td x:str><a href="code/SuperFeature/Widget/ArkTSCard/MusicControl">ArkTs音乐卡片</a></td> 467 </tr> 468 <tr height="18" style='height:13.50pt;'> 469 <td x:str><a href="code/SuperFeature/Widget/ArkTSCard/Calculator">ArkTS卡片计算器</a></td> 470 <td ></td> 471 <td ></td> 472 <td ></td> 473 </tr> 474 <tr height="18" style='height:13.50pt;'> 475 <td height="90" align="center" rowspan="7" style='height:67.50pt' x:str><strong>行业解决方案</strong></td> 476 <td x:str><strong>即时通信</strong></td> 477 <td x:str><a href="code/Solutions/IM/Chat">聊天实例应用(API 10)</a></td> 478 <td ></td> 479 <td ></td> 480 <td ></td> 481 </tr> 482 <tr height="18" style='height:13.50pt;'> 483 <td x:str><strong>输入法</strong></td> 484 <td x:str><a href="code/Solutions/InputMethod/KikaInput">轻量级输入法(API 10)</a></td> 485 <td x:str><a href="code/Solutions/InputMethod/CustomInputText">自绘编辑框(API 10)</a></td> 486 <td x:str><a href="code/Solutions/InputMethod/KikaInputMethod">Kika输入法应用(API 10)</a></td> 487 <td ></td> 488 </tr> 489 <tr height="18" style='height:13.50pt;'> 490 <td x:str><strong>电商</strong></td> 491 <td x:str><a href="code/Solutions/Shopping/OrangeShopping">购物示例应用</a></td> 492 <td ></td> 493 <td ></td> 494 <td ></td> 495 </tr> 496 <tr height="18" style='height:13.50pt;'> 497 <td x:str><strong>媒体</strong></td> 498 <td x:str><a href="code/Solutions/Media/MultiMedia">仿相机</a></td> 499 <td ></td> 500 <td ></td> 501 <td ></td> 502 </tr> 503 <tr height="18" style='height:13.50pt;'> 504 <td x:str><strong>游戏</strong></td> 505 <td x:str><a href="code/Solutions/Game/Game2048">游戏2048</a></td> 506 <td x:str><a href="code/Solutions/Game/Lottie">Lottie</a></td> 507 <td x:str><a href="code/Solutions/Game/DistributedDataGobang">分布式五子棋</a></td> 508 <td ></td> 509 </tr> 510<tr height="18" style='height:13.50pt;'> 511 <td x:str><strong>社交</strong></td> 512 <td x:str><a href="code/Solutions/Social/GrapeSquare">葡萄广场</a></td> 513 <td ></td> 514 <td ></td> 515 <td ></td> 516 </tr> 517 <tr height="18" style='height:13.50pt;'> 518 <td x:str><strong>工具</strong></td> 519 <td x:str><a href="code/Solutions/Tools/PatternLock">图案密码锁</a></td> 520 <td x:str><a href="code/Solutions/Tools/FlipClock">翻页时钟</a></td> 521 <td x:str><a href="code/Solutions/Tools/JsClock">JS时钟(API 10)</a></td> 522 <td x:str><a href="code/Solutions/Tools/ArkTSClock">ArkTS时钟</a></td> 523 </tr> 524 <tr height="18" style='height:13.50pt;'> 525 <td height="54" align="center" rowspan="3" style='height:40.50pt' x:str><strong>工程能力</strong></td> 526 <td x:str><strong>应用程序包</strong></td> 527 <td x:str><a href="code/Project/ApplicationHap/MultiHap">多HAP</a></td> 528 <td ></td> 529 <td ></td> 530 <td ></td> 531 </tr> 532 <tr height="18" style='height:13.50pt;'> 533 <td x:str><strong>Test</strong></td> 534 <td x:str><a href="code/Project/Test">测试框架</a></td> 535 <td ></td> 536 <td ></td> 537 <td ></td> 538 </tr> 539 <tr height="18" style='height:13.50pt;'> 540 <td x:str><strong>HapBuild</strong></td> 541 <td x:str><a href="code/Project/HapBuild">流水线预测试工具</a></td> 542 <td ></td> 543 <td ></td> 544 <td ></td> 545 </tr> 546 <tr height="18" style='height:13.50pt;'> 547 <td rowspan="1" align="center" x:str><strong>语言基础类库</strong></td> 548 <td rowspan="1" x:str><strong>语言基础类库</strong></td> 549 <td x:str><a href="code/LaunguageBaseClassLibrary/LanguageBaseClassLibrary">语言基础类库(API 10)</a></td> 550 <td x:str><a href="code/LaunguageBaseClassLibrary/ConcurrentModule">多线程任务</a></td> 551 <td x:str><a href="code/LaunguageBaseClassLibrary/ZipLib">压缩与解压</a></td> 552 <td ></td> 553 </tr> 554 <tr height="18" style='height:13.50pt;'> 555 <td rowspan="2" align="center" x:str><strong>性能</strong></td> 556 <td rowspan="1" x:str><strong>方舟运行时</strong></td> 557 <td x:str><a href="code/Performance/ArkRuntime/NBody"> N-Body模拟程序(API 10)</a></td> 558 <td ></td> 559 <td ></td> 560 </tr> 561 <tr height="18" style='height:13.50pt;'> 562 <td rowspan="1" x:str><strong>性能提升</strong></td> 563 <td x:str><a href="code/Performance/PerformanceLibrary"> 性能示例 </a></td> 564 <td x:str><a href="code/Performance/renderGroup"> 性能示例(renderGroup 接口)</a></td> 565 <td ></td> 566 <td ></td> 567 </tr> 568 <tr> 569<![if supportMisalignedColumns]> 570 <tr height="18" style="display:none;"> 571 </tr> 572 <![endif]> 573</table> 574 575## 目录<a name="sectionMenu"></a> 576 577Sample仓下所展示的组件能力: 578 579``` 580code 581|---UI # UI开发 582 |---ArkTsComponentCollection # ArkTs组件集 583|---BasicFeature # 基础特性 584 |---Ability # 能力增强 585 |---Ads # 广告 586 |---ApplicationModels # 应用模型 587 |---Connectivity # 网络与连接 588 |---DFX # DFX 589 |---DataManagement # 数据管理 590 |---DeviceManagement # 设备管理 591 |---Extension # Extension 592 |---FileManagement # 文件管理 593 |---Graphics # 图像 594 |---International # 国际化 595 |---Media # 媒体 596 |---Native # Native c++ 597 |---Notification # 通知 598 |---Print # 打印 599 |---Resource # 资源 600 |---Security # 安全 601 |---TaskManagement # 任务管理 602 |---Telephony # 电话服务 603 |---Web # Web 604|---SystemFeature # 系统特性 605 |---Ability # 能力增强 606 |---ApplicationModels # 应用模型 607 |---ArkTsCard # 卡片能力增强 608 |---AutoFill # 自动填充 609 |---Connectivity # 网络与连接 610 |---DataManagement # 数据管理 611 |---DeviceManagement # 设备管理 612 |---DeviceUsageStatistics # 设备使用信息 613 |---DistributedAppDev # 分布式 614 |---FileManagement # 文件管理 615 |---FullScreenStart # 全屏原子化服务 616 |---IDL # IDL 617 |---Internationalnation # 国际化 618 |---Media # 媒体 619 |---Notification # 通知 620 |---ResourceAllocation # 资源配置 621 |---Security # 安全 622 |---TaskManagement # 任务管理 623 |---Telephony # 电话服务 624 |---UIExtensionSamples # 基础能力增强 625 |---Widget # 卡片 626 |---WindowManagement # 窗口管理 627|---SuperFeature # 关键特性 628 |---DistributedAppDev # 分布式 629 |---MultiDeviceAppDev # 一多 630 |---Widget # 卡片 631|---Solutions # 行业解决方案 632 |---Game # 游戏 633 |---IM # 即时通信 634 |---InputMethod # 输入法 635 |---Media # 媒体 636 |---Shopping # 电商 637 |---Social # 社交 638 |---Tools # 工具 639|---Project # 工程能力 640 |---ApplicationHap # 应用程序包 641 |---HapBuild # 流水线预测试工具 642 |---Test # 测试框架 643|---LaunguageBaseClassLibrary # 语言基础类库 644 |---ConcurrentModule # 多线程任务 645 |---LaunguageBaseClassLibrary # 语言基础类库 646 |---ZipLib # 解压与压缩 647|---Performance # 性能 648 |---ArkRuntime # 方舟运行时 649 |---PerformanceLibrary # 性能示例 650 |---renderGroup # 性能示例 651``` 652 653## 约束<a name="section18841871178"></a> 654 655安装应用示例之前,请先查看"README_zh.md"文件来确认应用示例是否为stage模型,若为Stage模型需要查看entry/src/main路径下的module.json5文件中的"deviceType"字段来确认该应用支持的设备类型;否则为FA模型,查看entry/src/main路径下的config.json文件中的"deviceType"字段来确认该应用示例支持的设备类型,两种模型都可尝试通过修改该字段使其可以在相应类型的设备上运行。 656 657## 使用方法<a name="section17988202503116"></a> 658 6591. 将独立的应用示例工程导入DevEco Studio进行编译构建及运行调试。 6602. 部分应用示例中含有多个模块,开发者可以选择对单个模块进行编译构建,生成一个HAP应用安装包,也可以对整个工程进行编译构建,生成多个HAP应用安装包。 6613. 安装运行后,即可在设备上查看应用示例运行效果,以及进行相关调试。 662 663## Changlog<a name="section17988202503117"></a> 664 665应用修改记录:[changelog](changelog.md) 666 667## releasenote 668 669应用发布版本分支说明:[releasenote](releasenote.md) 670 671## 相关仓<a name="section17988202503118"></a> 672 6731. [app_sample](https://gitee.com/openharmony/app_samples) 已废弃 6742. [applications_app_sample](https://gitee.com/openharmony/applications_app_samples) 675