Would like to be able to take password entry from the stdin console, but, of course, without echoing what the user types.
Is there something comparable to getpasswd functionality in Go? (Google's Go language)
I tried using syscall.Read, but it echoes what is typed.
...
if ("Submit".equals(cmd)) { //Process the password.
String UserNameInput=UserName.getText();
///////////////////////////////ERROR Pin when printed shows error/////////////////////////////
char[] PinInput = PinField.getPassword();
String pinInput=PinInput.toString();
//for debugging , print PinInput , b...
I'm trying to retrieve the password of google account, but getting
security exception at String pwd = AccountManager.get(mContext).getPassword(account).
Also i have given permissions in androidManifest.xml to
account_manager, aunthenticator, get_account, manage account.
code :
android.accounts.Account[] gaccounts = AccountManager.get(...