I know this question has been asked many times before, but any of the solution is not working and my situation is a little bit different.
I've an Activity
which can be called from many different Activities. But I want when the user presses back button, instead of previous activity, app should go to Home screen.
One way to use StartActivityFromResult()
but then I'll have to use it in every calling Activity.
Simply if you go to back Home activity than add this code