Android : How can a background service know if activity is killed or not

on Monday, March 30, 2015


I have an activity that starts a background service. Once it is started, it runs forever.


Lets say the background service needs the activity that started it to update something. Then how can I start the activity again "If it is not started" however if it is already started then send a broadcast?


Thanks


0 comments:

Post a Comment