文件最后提交记录最后更新时间
!513 更新根目录README和sample下的README4 年前
!1116 根目录 Readme 更新,输入法应用适配编译,ServiceExtAbility权限问题3 年前
!982 适配991,image规避文件沙箱对文件命名作出限制3 年前
!1008 根据检视意见刷新英文Readme3 年前
!1116 根目录 Readme 更新,输入法应用适配编译,ServiceExtAbility权限问题3 年前
!586 修复signingConfig和JsImage、Process工程报错问题4 年前
!513 更新根目录README和sample下的README4 年前
!860 901适配ability,common,Util3 年前
README.md

ServiceExtAbility

Introduction

This sample shows how to create and use a Service Extension ability in eTS.

Usage

  1. After the demo app is started, touch Start. The ability startup status is displayed.

  2. Enter two numbers, which will be passed to the Service Extension ability for the addition operation.

  3. Touch Connect to connect to the Service Extension ability. The ability connection status is displayed.

  4. After the ability is connected, the numbers entered are sent to the Service Extension ability, which calculates the result and returns the result to the demo app. The app's page displays the calculation result.

  5. Touch Disconnect to disconnect from the Service Extension ability. The ability disconnection status is displayed.

Constraints

  1. This sample can only be run on standard-system devices.
  2. This sample is based on the stage model, which is supported from API version 9.
  3. The DevEco Studio version used in this sample must be 3.0 Canary7 or later.