Reputation: 3183
I want to cear the activity stack of my application after a certain time. I invoke a service with the alarm manager to delete some data. Is it possible to also clear the activity stack with the service?
Thanks
Upvotes: 0
Views: 289
Reputation: 17613
I don't think you can "properly" do that.. but you can put a Broadcast Receiver on the Activities you want to close.
Then send a broadcast which they receive and then "finish()" themselves.
Upvotes: 1