I own a mobile android app on google playstore "Geology of India". However, I am not able to switch to the main screen on back press event. Currently, this app has exit option instead.
I have the following screens:
1) Splash screen 2) Main category screen which connects to PHP Json to get all categories. 3) If I click on any of the category button, then it goes to the content page, which displays images and text combination.
Now, if I click on back button of android device, then it will ask you to exit the app. How do I move back from third screen to second / parent screen?
I have tried various methods, but it simply exits the main app or terminates.