Service Archives - wiki

Android check service is running or not

Android check service is running or not

Function 1

In this function, we can pass class as parameter


Function call

Function 2

Here we can pass the class name with the package name



calling the function


Simple intent service example click the link

By bm on July 19, 2016 | Android | A comment?
Tags: ,

Android Intent Service Example

Simple example for Android Intent Service and broadcast receiver

Declaring Service in the Manifest


android:exported :- Whether or not components of other applications can invoke the service or interact with it — “true” if they can, and “false” if not. When the value is “false“, only components of the same application or applications with the same user ID can start the service or bind to it. –

More about service tag click here




For How to check the service is running click the link :