文件最后提交记录最后更新时间
!1004 README特殊权限编译说明,预制应用安装说明3 年前
!897 整改应用readme3 年前
!837 ability,Account,AppSample,Basic,common 等适配arm64位系统版本3 年前
!1069 根目录readme更新3 年前
!586 修复signingConfig和JsImage、Process工程报错问题4 年前
!513 更新根目录README和sample下的README4 年前
!1004 README特殊权限编译说明,预制应用安装说明3 年前
README.md

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

  1. Start the demo app. The main ability is started, and eTSFormLauncher is displayed on the page.

  2. If the corresponding widget provider app has been installed, for example, FA model Widget or stage model widget, the widget will be displayed.

eTSFormLauncherExample

  1. Touch castTempForm to convert a temporary widget to a normal one.

  2. Touch updateForm to update the widget.

  3. Touch deleteForm to delete the widget.

Constraints

  1. This sample can only be run on standard-system devices.
  2. The IDE version used in this sample must be 3.0.0.901 or later.