@@ -97,7 +97,7 @@ After the preceding code is executed, the **startAbility()** API is called to st
...
@@ -97,7 +97,7 @@ After the preceding code is executed, the **startAbility()** API is called to st
### Stopping a Service ability
### Stopping a Service ability
Once created, the Service ability keeps running in the background. The system does not stop or destroy it unless memory resources must be reclaimed. You can call **terminateSelf()** on a Service ability to stop it or call **stopAbility()** on another ability to stop the specified Service ability.
Once created, the Service ability keeps running in the background. The system does not stop or destroy it unless memory resources must be reclaimed. You can call **terminateSelf()** on a Service ability to stop it.
...
@@ -126,12 +126,17 @@ function onConnectCallback(element, remote){
...
@@ -126,12 +126,17 @@ function onConnectCallback(element, remote){