Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
4023419d
D
Docs
项目概览
OpenHarmony
/
Docs
1 年多 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
4023419d
编写于
1月 31, 2023
作者:
O
openharmony_ci
提交者:
Gitee
1月 31, 2023
浏览文件
操作
浏览文件
下载
差异文件
!14129 3.2Beta5:codelabs和samples引用刷新:无需翻译
Merge pull request !14129 from 葛亚芳/OpenHarmony-3.2-Beta5
上级
3505eab4
5abe83be
变更
17
隐藏空白更改
内联
并排
Showing
17 changed file
with
73 addition
and
17 deletion
+73
-17
zh-cn/application-dev/ability-deprecated/fa-brief.md
zh-cn/application-dev/ability-deprecated/fa-brief.md
+5
-5
zh-cn/application-dev/ability-deprecated/stage-ability.md
zh-cn/application-dev/ability-deprecated/stage-ability.md
+10
-0
zh-cn/application-dev/ability-deprecated/stage-serviceextension.md
...lication-dev/ability-deprecated/stage-serviceextension.md
+3
-0
zh-cn/application-dev/application-models/dataability-overview.md
...pplication-dev/application-models/dataability-overview.md
+6
-0
zh-cn/application-dev/application-models/serviceextensionability.md
...ication-dev/application-models/serviceextensionability.md
+2
-1
zh-cn/application-dev/connectivity/socket-connection.md
zh-cn/application-dev/connectivity/socket-connection.md
+1
-1
zh-cn/application-dev/database/database-preference-guidelines.md
...pplication-dev/database/database-preference-guidelines.md
+3
-1
zh-cn/application-dev/database/database-relational-guidelines.md
...pplication-dev/database/database-relational-guidelines.md
+5
-1
zh-cn/application-dev/media/image.md
zh-cn/application-dev/media/image.md
+1
-1
zh-cn/application-dev/media/video-playback.md
zh-cn/application-dev/media/video-playback.md
+1
-1
zh-cn/application-dev/notification/notification-overview.md
zh-cn/application-dev/notification/notification-overview.md
+8
-0
zh-cn/application-dev/security/accesstoken-guidelines.md
zh-cn/application-dev/security/accesstoken-guidelines.md
+2
-2
zh-cn/application-dev/task-management/reminder-agent-development.md
...ication-dev/task-management/reminder-agent-development.md
+6
-0
zh-cn/application-dev/ui/ui-js-building-ui-component.md
zh-cn/application-dev/ui/ui-js-building-ui-component.md
+2
-0
zh-cn/application-dev/ui/ui-ts-components-intro.md
zh-cn/application-dev/ui/ui-ts-components-intro.md
+10
-2
zh-cn/application-dev/ui/ui-ts-components-web.md
zh-cn/application-dev/ui/ui-ts-components-web.md
+4
-0
zh-cn/application-dev/ui/ui-ts-overview.md
zh-cn/application-dev/ui/ui-ts-overview.md
+4
-2
未找到文件。
zh-cn/application-dev/ability-deprecated/fa-brief.md
浏览文件 @
4023419d
...
...
@@ -52,9 +52,9 @@ FA模型的应用包的工程目录结构,请参考[OpenHarmony工程介绍](h
-
[
`DistributeGraffiti`:分布式涂鸦(ArkTS)(API8)(Full SDK)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/ability/DistributedGraffiti
)
-
[
分布式调度启动远程FA(JS)(API8)
](
https://gitee.com/openharmony/codelabs/tree/master/Distributed/RemoteStartFA
)
-
[
分布式新闻客户端(JS)(API8)
](
https://gitee.com/openharmony/codelabs/tree/master/Distributed/NewsDemo
)
-
[
分布式手写板(ArkTS)(API8)
](
https://gitee.com/openharmony/codelabs/tree/master/Distributed/DistributeDatabaseDrawEts
)
-
[
分布式手写板(ArkTS)(
Full SDK)(
API8)
](
https://gitee.com/openharmony/codelabs/tree/master/Distributed/DistributeDatabaseDrawEts
)
-
[
分布式鉴权(JS)(API8)
](
https://gitee.com/openharmony/codelabs/tree/master/Distributed/GameAuthOpenH
)
-
[
分布式游戏手柄(ArkTS)(API8)
](
https://gitee.com/openharmony/codelabs/tree/master/Distributed/HandleGameApplication
)
-
[
分布式邮件(ArkTS)(API8)
](
https://gitee.com/openharmony/codelabs/tree/master/Distributed/OHMailETS
)
-
[
分布式亲子早教系统(ArkTS)(API8)
](
https://gitee.com/openharmony/codelabs/tree/master/Distributed/OpenHarmonyPictureGame
)
-
[
分布式遥控器(ArkTS)(API8)
](
https://gitee.com/openharmony/codelabs/tree/master/Distributed/RemoteControllerETS
)
\ No newline at end of file
-
[
分布式游戏手柄(ArkTS)(Full SDK)(API8)
](
https://gitee.com/openharmony/codelabs/tree/master/Distributed/HandleGameApplication
)
-
[
分布式邮件(ArkTS)(Full SDK)(API8)
](
https://gitee.com/openharmony/codelabs/tree/master/Distributed/OHMailETS
)
-
[
分布式亲子早教系统(ArkTS)(Full SDK)(API8)
](
https://gitee.com/openharmony/codelabs/tree/master/Distributed/OpenHarmonyPictureGame
)
-
[
分布式遥控器(ArkTS)(Full SDK)(API8)
](
https://gitee.com/openharmony/codelabs/tree/master/Distributed/RemoteControllerETS
)
\ No newline at end of file
zh-cn/application-dev/ability-deprecated/stage-ability.md
浏览文件 @
4023419d
...
...
@@ -300,3 +300,13 @@ struct Index {
}
}
```
## 相关实例
基于Stage模型下的Ability开发,有以下相关实例可供参考:
-
[
Ability内和Ability间页面的跳转(ArkTS)(API9)
](
https://gitee.com/openharmony/codelabs/tree/master/Ability/StageAbility
)
-
[
Stage模型下Ability的创建和使用(ArkTS)(API9)
](
https://gitee.com/openharmony/codelabs/tree/master/Ability/StageAbilityDemo
)
-
[
Ability内页面间的跳转(ArkTS)(API9)
](
https://gitee.com/openharmony/codelabs/tree/master/Ability/PagesRouter
)
\ No newline at end of file
zh-cn/application-dev/ability-deprecated/stage-serviceextension.md
浏览文件 @
4023419d
...
...
@@ -75,4 +75,7 @@ OpenHarmony当前不支持三方应用创建ServiceExtensionAbility。
## 相关实例
针对ServiceExtensionAbility开发,有以下相关实例可供参考:
-
[
`AbilityConnectServiceExtension`:Ability与ServiceExtensionAbility通信(ArkTS)(API9)(Full SDK)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/ability/AbilityConnectServiceExtension
)
-
[
`ServiceExtAbility`:StageExtAbility的创建与使用(ArkTS)(API9)(Full SDK)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/ability/ServiceExtAbility
)
zh-cn/application-dev/application-models/dataability-overview.md
浏览文件 @
4023419d
...
...
@@ -8,3 +8,9 @@ DataAbility,即"使用Data模板的Ability",主要用于对外部提供统
数据的存放形式多样,可以是数据库,也可以是磁盘上的文件。DataAbility对外提供对数据的增、删、改、查,以及打开文件等接口,这些接口的具体实现由开发者提供。
## 相关实例
基于DataAbility组件的开发,以下相关实例可供参考:
-
[
`DataAbility`:DataAbility的创建与访问(ArkTS)(API8)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/ability/DataAbility
)
\ No newline at end of file
zh-cn/application-dev/application-models/serviceextensionability.md
浏览文件 @
4023419d
...
...
@@ -287,4 +287,5 @@ ServiceExtensionAbility服务组件在[onConnect()](../reference/apis/js-apis-ap
针对ServiceExtensionAbility开发,有以下相关示例可供参考:
[
ServiceExtAbility:StageExtAbility的创建与使用(ArkTS)(API9)(Full SDK)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/ability/ServiceExtAbility
)
-
[
`AbilityConnectServiceExtension`:Ability与ServiceExtensionAbility通信(ArkTS)(API9)(Full SDK)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/ability/AbilityConnectServiceExtension
)
-
[
`ServiceExtAbility`:StageExtAbility的创建与使用(ArkTS)(API9)(Full SDK)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/ability/ServiceExtAbility
)
zh-cn/application-dev/connectivity/socket-connection.md
浏览文件 @
4023419d
...
...
@@ -125,6 +125,6 @@ UDP与TCP流程大体类似,下面以TCP为例:
## 相关实例
针对Socket连接开发,有以下相关实例可供参考:
-
[
`Socket`:Socket 连接(ArkTS)(API
8
)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/Network/Socket
)
-
[
`Socket`:Socket 连接(ArkTS)(API
9
)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/Network/Socket
)
-
[
使用UDP实现与服务端通信(ArkTS)(API9)
](
https://gitee.com/openharmony/codelabs/tree/master/NetworkManagement/UdpDemoOH
)
-
[
使用TCP实现与服务端通信(ArkTS)(API9)
](
https://gitee.com/openharmony/codelabs/tree/master/NetworkManagement/TcpSocketDemo
)
\ No newline at end of file
zh-cn/application-dev/database/database-preference-guidelines.md
浏览文件 @
4023419d
...
...
@@ -208,4 +208,6 @@
针对首选项开发,有以下相关实例可供参考:
-
[
`Preferences`:首选项(ArkTS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/data/Preferences
)
\ No newline at end of file
-
[
`Preferences`:首选项(ArkTS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/data/Preferences
)
-
[
首选项(ArkTS)(API9)
](
https://gitee.com/openharmony/codelabs/tree/master/Data/Preferences
)
\ No newline at end of file
zh-cn/application-dev/database/database-relational-guidelines.md
浏览文件 @
4023419d
...
...
@@ -423,5 +423,9 @@
## 相关实例
针对关系型数据库开发,有以下相关实例可供参考:
- [`DistributedRdb`:分布式关系型数据库(ArkTS)(API8)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/data/DistributedRdb)
- [关系型数据库(JS)(API8)](https://gitee.com/openharmony/codelabs/tree/master/Data/JSRelationshipData)
\ No newline at end of file
- [关系型数据库(JS)(API8)](https://gitee.com/openharmony/codelabs/tree/master/Data/JSRelationshipData)
- [关系型数据库(ArkS)(API9)](https://gitee.com/openharmony/codelabs/tree/master/Data/Rdb)
\ No newline at end of file
zh-cn/application-dev/media/image.md
浏览文件 @
4023419d
...
...
@@ -286,5 +286,5 @@ public async init(surfaceId: any) {
针对图片开发,有以下相关实例可供参考:
-
[
`Image`:图片处理(ArkTS)(API
8
)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/media/Image
)
-
[
`Image`:图片处理(ArkTS)(API
9
)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/media/Image
)
-
[
`GamePuzzle`:拼图(ArkTS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/media/GamePuzzle
)
\ No newline at end of file
zh-cn/application-dev/media/video-playback.md
浏览文件 @
4023419d
...
...
@@ -452,4 +452,4 @@ export class VideoPlayerDemo {
针对视频播放开发,有以下相关实例可供参考:
-
[
`VideoPlayer:`视频播放(ArkTS)(API9)(Full SDK)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/media/VideoPlayer
)
-
[
视频播放器(ArkTS)(API 9)
](
https://gitee.com/openharmony/codelabs/tree/master/Media/VideoPlayerStage
)
\ No newline at end of file
-
[
视频播放器(ArkTS)(Full SDK)(API9)
](
https://gitee.com/openharmony/codelabs/tree/master/Media/VideoPlayerStage
)
\ No newline at end of file
zh-cn/application-dev/notification/notification-overview.md
浏览文件 @
4023419d
...
...
@@ -25,3 +25,11 @@ OpenHarmony通过ANS(Advanced Notification Service,通知系统服务)对
系统应用还支持通知相关配置,如使能开关、配置参数由系统配置发起请求,发送到通知子系统存储到内存和数据库。
![
zh-cn_image_0000001466582017
](
figures/zh-cn_image_0000001466582017.png
)
## 相关实例
基于通知的开发,有以下相关实例可供参考:
-
[
`CustomNotification`:自定义通知(ArkTS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/Notification/CustomNotification
)
-
[
`Notification`:订阅、发送通知(ArkTS)(API9)(Full SDK)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/Notification/Notification
)
\ No newline at end of file
zh-cn/application-dev/security/accesstoken-guidelines.md
浏览文件 @
4023419d
...
...
@@ -231,5 +231,5 @@
针对访问控制,有以下相关实例可供参考:
-
[
`AbilityAccessCtrl`:访问权限控制(ArkTS)(API8)(Full SDK)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/Safety/AbilityAccessCtrl
)
-
[
为应用添加运行时权限(ArkTS)(API 9)
](
https://gitee.com/openharmony/codelabs/tree/master/Ability/AccessPermission
)
\ No newline at end of file
-
[
`AbilityAccessCtrl`:访问权限控制(ArkTS)(Full SDK)(API8)(Full SDK)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/Safety/AbilityAccessCtrl
)
-
[
为应用添加运行时权限(ArkTS)(Full SDK)(API 9)
](
https://gitee.com/openharmony/codelabs/tree/master/Ability/AccessPermission
)
\ No newline at end of file
zh-cn/application-dev/task-management/reminder-agent-development.md
浏览文件 @
4023419d
...
...
@@ -175,3 +175,9 @@
console
.
log
(
"
cancelReminder code:
"
+
error
.
code
+
"
, message:
"
+
error
.
message
);
};
```
## 相关实例
基于后台代理提醒的开发,有以下相关实例可供参考:
-
[
闹钟(ArkTS)(API9)
](
https://gitee.com/openharmony/codelabs/tree/master/CommonEventAndNotification/AlarmClock
)
\ No newline at end of file
zh-cn/application-dev/ui/ui-js-building-ui-component.md
浏览文件 @
4023419d
...
...
@@ -25,6 +25,8 @@
针对组件开发,有以下相关实例可供参考:
-
[
`JsComponentCollection`:组件集合(JS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/UI/JsComponentCollection
)
-
[
`JsPanel`:内容展示面板(JS)(API8)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/UI/JsPanel
)
-
[
`Popup`:气泡(JS)(API8)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/UI/Popup
)
...
...
zh-cn/application-dev/ui/ui-ts-components-intro.md
浏览文件 @
4023419d
...
...
@@ -15,6 +15,12 @@
## 相关实例
基于ArkTS的常用组件开发,有以下相关实例可供参考:
-
[
`ComponentCollection`:组件集合(ArkTS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/ETSUI/ComponentCollection
)
-
[
`OrangeShopping`:购物示例应用(ArkTS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/ETSUI/OrangeShopping
)
-
[
`Canvas`:画布组件(ArkTS)(API8)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/ETSUI/Canvas
)
-
[
`Clock`:简单时钟(ArkTS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/Preset/Clock
)
...
...
@@ -25,6 +31,8 @@
-
[
`QRCode`:二维码(ArkTS)(API9)(Full SDK)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/ETSUI/QRCode
)
-
[
基础组件Slider的使用(ArkTS)(API8)
](
https://gitee.com/openharmony/codelabs/tree/master/ETSUI/SliderApplicationEts
)
-
[
`Gallery`:组件集合(ArkTS)(API8)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/ETSUI/Gallery
)
-
[
List组件的使用之商品列表(ArkTS)(API9)
](
https://gitee.com/openharmony/codelabs/tree/master/ETSUI/List_HDC
)
-
[
List组件的使用之设置项(ArkTS)(API9)
](
https://gitee.com/openharmony/codelabs/tree/master/ETSUI/List_HDC
)
\ No newline at end of file
zh-cn/application-dev/ui/ui-ts-components-web.md
浏览文件 @
4023419d
...
...
@@ -231,3 +231,7 @@ struct WebComponent {
针对Web开发,有以下相关实例可供参考:
-
[
`Web`:Web(ArkTS)(API8)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/ETSUI/Web
)
-
[
Web组件的使用(ArkTS)(API9)
](
https://gitee.com/openharmony/codelabs/tree/master/ETSUI/WebCookie
)
-
[
Web组件抽奖案例(ArkTS)(API9)
](
https://gitee.com/openharmony/codelabs/tree/master/ETSUI/WebComponent
)
\ No newline at end of file
zh-cn/application-dev/ui/ui-ts-overview.md
浏览文件 @
4023419d
...
...
@@ -76,12 +76,14 @@ ArkTS语言的基础知识请参考[学习ArkTS语言](../quick-start/arkts-get-
-
[
`TransitionAnimation`:转场动画(ArkTS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/ETSUI/TransitionAnimation
)
-
[
基础组件Slider的使用(ArkTS)(API9)
](
https://gitee.com/openharmony/codelabs/tree/master/ETSUI/SliderExample
)
-
[
转场动画的使用(ArkTS)(API9)
](
https://gitee.com/openharmony/codelabs/tree/master/ETSUI/TransitionAnimation
)
-
[
极简声明式UI范式(ArkTS)(API8)
](
https://gitee.com/openharmony/codelabs/tree/master/ETSUI/SimpleGalleryEts
)
-
[
购物应用(ArkTS)(API8)
](
https://gitee.com/openharmony/codelabs/tree/master/ETSUI/ShoppingEts
)
-
[
转场动画的使用(ArkTS)(API8)
](
https://gitee.com/openharmony/codelabs/tree/master/ETSUI/TransitionAnimtaionEts
)
-
[
弹窗(ArkTS)(API8)
](
https://gitee.com/openharmony/codelabs/tree/master/ETSUI/CustomDialogEts
)
-
[
`UpgradePopup`:自定义弹窗(ArkTS)(API9)
](
https://gitee.com/openharmony/applications_app_samples/tree/master/ETSUI/UpgradePopup
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录