2

I am developing an android app and i have build a login system that works with a web server. I was wondering what the best way to make a cookie like system for android so that everytime the user goes into the app they do not have to log in again. What would be the best way to do this? Any information to steer me on the right track would be great!

Thanks in advance :)

Nick
  • 2,593
  • 3
  • 30
  • 59

1 Answers1

1

Since you are using Web Service, you need to make use of username password every time you use a service.

I am not sure, but if you define your application as service, your application will keep running in background and the user will remain logged in the whole time, unless he logs out by himself/herself. So, no need to maintain cookie.

Thanks & Regards,

Krishna V. Mahadik

krishnamahadik
  • 220
  • 1
  • 2
  • 11