martinbitai
Lurker
Hey guys. I have a small problem and I hope you can help me with it.
So I've been creating this app (for personal use so far) with Android Studio. I've created a login screen, with a login button, a "Remember me" checkbox, textview for username and password and also a counter of "Login attempts remaining". Now everything works just fine. If the username and password are not correct, the app won't let you in. The counter works just fine aswell. The checkbox also (seems) to work. After the login, I get to the second activity screen, which is the actual app.
THE PROBLEM:
So everything works just fine, until I check the "Remember me" checkbox. If I log in without checking the box, the app works just fine. But when I select it to remember my credentials the next time I open the app it crashes. Won't even show me the login screen. I have to delete the app and re-install it.
Again, if the checkbox is not set, I log in and then exit the app, the next time I open it runs just fine. The problem only occurs when the checkbox is on upon login.
Can any of you developers help me?
Thank you very much,
Martin
So I've been creating this app (for personal use so far) with Android Studio. I've created a login screen, with a login button, a "Remember me" checkbox, textview for username and password and also a counter of "Login attempts remaining". Now everything works just fine. If the username and password are not correct, the app won't let you in. The counter works just fine aswell. The checkbox also (seems) to work. After the login, I get to the second activity screen, which is the actual app.
THE PROBLEM:
So everything works just fine, until I check the "Remember me" checkbox. If I log in without checking the box, the app works just fine. But when I select it to remember my credentials the next time I open the app it crashes. Won't even show me the login screen. I have to delete the app and re-install it.
Again, if the checkbox is not set, I log in and then exit the app, the next time I open it runs just fine. The problem only occurs when the checkbox is on upon login.
Can any of you developers help me?
Thank you very much,
Martin