In an if statement, I have a finish() because I don't want the control to go any further. But, the app exits, but as I see from the logcat, the control goes beyond finish().
Maybe that's also the reason why a toast supposed to be displayed and some other GUI actions before finish() are not taking place?
Please advice.