I am new to android.. just started writing service using activity..
i want to know if there are any other ways to trigger a service without the use of activity? like when a new message arrives, the service need to start running..
if so, how?
Thank you..
In the abstract, what you want is a manifest-registered
BroadcastReceiverthat then starts the service.That being said, there is no support in the Android SDK for events fitting the description of “when a new message arrives”.