My application has several activities the first being a logon screen, I want to always force the user to logon even if they have stopped the application using the home button and the restored it. Is there a way to achieve this in android?
Use android:clearTaskOnLaunch="true"
in your Launcher Activity in the manifest and for all other activities use android:finishOnTaskLaunch="true"
in the manifest.
For a reference, have a look at the link below, this will help you doing what you want.