Android Question How to close All Activities

Anuj_Singh

Member
Licensed User
Longtime User
Hello All,

I want to close all Activities which are running, how should it done on one Button Click.

or

Is there any option like
Activity.Finish("ActivityName")

Thanks in Advance
 

Inman

Well-Known Member
Licensed User
Longtime User
Try ExitApplication, although it is not usually recommended. The recommended practice is to close the current activity with Activity.Finish and let Android system decide when to kill the other activities.
 
Upvote 0
Top