How I can close all activities that are open when my application is closed?
If activity B is runing then the only one you can finish is activity B. That´s how android works.How I can close an activity from another activity?
You can NOT close activity B from C! ONLY B can. Or the system when it kills your process.But if I do not finish the activity B and from C back to main, how can I close it?