I am developing the application in which i want to close whole application on button click. I know in android we should not think about to close the application because andr
Also you can use finishAffinity() function in last activity like:
finishAffinity()
finishAffinity() startHomeActivity()
Hope it'll be useful.