• Home
Name Date Size #Lines LOC

..--

AppScope/12-May-2024-3835

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

entry/12-May-2024-1,037839

screenshots/12-May-2024-

.gitignoreD12-May-2024121 88

README.mdD12-May-2024780 2011

README_zh.mdD12-May-2024988 3016

build-profile.json5D12-May-20241 KiB4241

hvigorfile.jsD12-May-2024168 21

package.jsonD12-May-2024299 1615

README.md

1# Stage Model Widget
2
3### Introduction
4
5This sample shows how to create and use the widget provider in the stage 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/eTSFormExample.png)
14
15### Constraints
16
171. This sample can only be run on standard-system devices.
182. This sample is based on the stage model, which is supported from API version 9.
193. This sample requires DevEco Studio 3.0 Beta4 (Build Version: 3.0.0.992, built on July 14, 2022) to compile and run.
20

README_zh.md

1# Stage模型卡片
2
3### 简介
4
5本示例展示了Stage模型卡片提供方的创建与使用。
6实现效果如下:
7
8![eTSFormExample](screenshots/eTSFormExample.png)
9
10### 相关概念
11
12Ability:Ability是应用所具备能力的抽象,也是应用程序的重要组成部分。Ability是系统调度应用的最小单元,是能够完成一个独立功能的组件。
13
14### 相关权限
15
16不涉及。
17
18### 使用说明
19
201.部分设备的桌面不支持卡片,可以通过自己的开发卡片使用方,进行卡片的创建、更新和删除等操作。具体参考:[卡片使用方说明](../FormLauncher/README_zh.md)。
21
222.卡片的样式如下图所示。当卡片更新时,卡片上的温度和时间会产生变化。
23
24### 约束与限制
25
261.本示例仅支持标准系统上运行。
27
282.本示例为Stage模型,从API version 9开始支持。
29
303.本示例需要使用DevEco Studio 3.0 Beta4 (Build Version: 3.0.0.992, built on July 14, 2022)才可编译运行。