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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.