Android Question Stop Service From Dying

Jonathan Rigley

Member
Licensed User
Longtime User
Hi,

I have created and started a service that listens to incoming SMS Messages and pops up a toast message with the phone number.

It works perfect while the app is open but the service is distroyed when the app closes.

How do I keep the service alive in the background once my app is closed and start up again after the phone is rebooted?

Many thanks
Jonathan
 

mangojack

Well-Known Member
Licensed User
Longtime User
Upvote 0
Top