• Home
Name Date Size #Lines LOC

..--

EntryCard/entry/base/snapshot/12-May-2024-

entry/12-May-2024-882774

screenshots/12-May-2024-

.gitignoreD12-May-2024121 88

README.mdD12-May-2024701 2010

README_zh.mdD12-May-2024897 2915

build-profile.json5D12-May-20241.1 KiB4241

hvigorfile.jsD12-May-2024175 21

package.jsonD12-May-2024314 1615

README.md

1# FA Model Widget
2
3### Introduction
4
5This sample shows how to create and use the widget provider in the FA model.
6
7### Usage
8
91. The home screens of some devices do not support widgets. You can create, update, and delete widgets by using your own widget host. For details, see [Widget Host](../FormLauncher/README.md).
10
112. The following figure shows the widget style. When the widget is updated, the temperature and time on the widget change.
12
13![eTSFormExample](screenshots/main.png)
14
15### Constraints
16
171. This sample can only be run on standard-system devices.
182. This sample requires DevEco Studio 3.0 Beta4 (Build Version: 3.0.0.992, built on July 14, 2022) to compile and run.
19
20

README_zh.md

1# FA模型卡片
2
3### 简介
4
5本示例展示了FA模型卡片提供方的创建与使用。
6
7![](screenshots/main.png)
8
9### 相关概念
10
11卡片提供方:提供卡片显示内容原子化服务,控制卡片的显示内容、控件布局以及控件点击事件。
12
13卡片管理服务:用于管理系统中所添加卡片的常驻代理服务,包括卡片对象的管理与使用,以及卡片周期性刷新等。
14
15### 相关权限
16
17不涉及。
18
19### 使用说明
20
211.部分设备的桌面不支持卡片,可以通过自己的开发卡片使用方,进行卡片的创建、更新和删除等操作。
22
232.当卡片更新时,卡片上的温度和时间会产生变化。
24
25### 约束与限制
26
271.本示例仅支持标准系统上运行。
28
292.本示例需要使用DevEco Studio 3.0 Beta4 (Build Version: 3.0.0.992, built on July 14, 2022)才可编译运行。