I am writing an Android application that requires the user to be logged in. I have a basic action, and I want it to go to the login screen when the application starts, if it has not already been logged in.
How do I simulate this? Is the login page another activity? I donβt think because I donβt want the user to be able to go back there using the back button. Or is there a way to replace the action with another, so that the problem with the back button does not happen?
Or, should I have only one action and load in the login view and replace it after the user logs in?
Are there any recommendations on this?
Thank!
android
lowellk Feb 26 '11 at 10:37 2011-02-26 10:37
source share