文件最后提交记录最后更新时间
!753 【OpenHarmony开源贡献者计划2022】请求排序的业务处理异常3 年前
!887 README整改3 年前
!489 使用900版本IDE对sample进行编译整改4 年前
!964 README整改3 年前
!490 删除签名配置4 年前
!489 使用900版本IDE对sample进行编译整改4 年前
!837 ability,Account,AppSample,Basic,common 等适配arm64位系统版本3 年前
README.md

ServiceAbility

Introduction

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

Usage

  1. After the sample app is started, touch Connect service. When the Service ability is connected, a message is displayed.

  2. Enter a string in the text box on the screen and touch Sort string. The string is sent to the Service ability. The Service ability sorts the string and returns the string after sorting, which is then displayed in the text box

  3. Click Disconnect service. After the Service ability is disconnected, a message is displayed.

Constraints

This sample can only be run on standard-system devices.