Page 1 of 1

How to Create Persistent Login

Posted: Mon Jul 22, 2013 10:33 pm
by Andrew Wing

Hi

I have built a simple andriod app that accesses a web service which is secured by a username and password. There is a login screen when the app starts where the user enters their username and password to access. This is all working well.

My question is how to keep the app logged in when its closed by the user. Currently if you close the app, next time its opened you have to enter your username and password again.

Many andriod apps I use do not require this, will only request account details if i explicitly log out of the app.

What is the best practice for achieving this?

thanks
Andrew


How to Create Persistent Login

Posted: Mon Jul 22, 2013 10:43 pm
by Alena Prykhodko

Hello Andrew!

Please look at a similar question https://getsatisfaction.com/apperyio/...