I am starting to work on an app which deals with user logging in, registering, viewing their authenticated information (profile, etc.) I have seen the template login activity in the android. It seems like a good starting point, but I'm not really sure where to go from here.
I was wondering what are the best practices on managing such an app in android. I have gone through Authorization and AccountManager, but discovered that I don't want any of these in my app. Because I don't want to keep my account which can be viewed by user from "Accounts and Sync".
User shall be authenticated/registered using web services.
So once I have authenticated, where do I store the credentials? Do I need to encrypt it if I end up storing it in SharedPreferences?
How do I manage sessions while the user is browsing inside the app?
Also, any tutorials/discussions on this topic will be very helpful :)