• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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