• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#  ServiceAbility
2
3### Introduction
4
5This sample shows how to create and use a Service ability in eTS.
6
7### Usage
8
91. After the sample app is started, touch **Connect service**. When the Service ability is connected, a message is displayed.
10
112. 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
12
133. Click **Disconnect service**. After the Service ability is disconnected, a message is displayed.
14
15### Constraints
16
17This sample can only be run on standard-system devices.
18