i was wondering if it was possible to terminate an activity using a service.
i figure created the service using startService(...) and the service should terminate the activity that launched it
for example
my steps are
Start main activity>main starts sub>sub starts service
service runs>service decides to kill the activity that started it (so sub and activity are closed)
basically right now if i start a service and then exit the app using the home screen...the onpause()/onfreeze() save the app but i want the service to remove the saved state under certain circumstances...



