Widget Host
Introduction
This sample shows how to create and use a widget in the FA model, including creating, displaying, converting, updating, and deleting a widget.
Usage
-
Start the demo app. The main ability is started, and eTSFormLauncher is displayed on the page.
-
If the corresponding widget provider app has been installed, for example, FA model Widget or stage model widget, the widget will be displayed.

-
Touch castTempForm to convert a temporary widget to a normal one.
-
Touch updateForm to update the widget.
-
Touch deleteForm to delete the widget.
Constraints
- This sample can only be run on standard-system devices.
- The IDE version used in this sample must be 3.0.0.901 or later.