3

I am new to android, and I just started making a signup activity for my app. I found a number of tutorials like this one.

What really got me confused is that in all of the tutorials the Confirm/Reenter password part is skipped, so my question would be - is this the android standard? Do I need to add only one password field in my app?

I think that even facebook has only one field for password when users register a new account.

teobais
  • 2,820
  • 1
  • 24
  • 36
MCVC
  • 33
  • 1
  • 1
  • 6
  • 2
    This you can do it by yourself, add two password field and then when a user pressed the button, then compare if the the passwords of two fields are the same. – Bahramdun Adil Jan 13 '16 at 07:54
  • 3
    if you use username as login, then you need that password confirmation. if you use email as login, then no need for that. as user, they can choose forget password to reset theirs – Randyka Yudhistira Jan 13 '16 at 07:57
  • 1
    Thanks Bahramudun and @Tandyka. I do plan to login with the username, so is there any good example for comparing the two password fields. All of the examples I found skip the confirm password entirely. – MCVC Jan 13 '16 at 08:12

2 Answers2

2

After reading this thread, you should no longer believe that your app needs having a password field twice; just once and along with a "Forgot Password?" button.

Community
  • 1
  • 1
teobais
  • 2,820
  • 1
  • 24
  • 36
1

I used this with my signup and login. It is a nice tutorial to show/hide password.

Banana
  • 2,435
  • 7
  • 34
  • 60