hi anybody tell me or share me how to implement anonymous log in please
HashMap<String, String> attr = new HashMap<String, String>();
attr.put(“first”, firstName);
attr.put(“last”, lastName);
// attr.put(“email”, “email”);
attr.put(“phone”, phone);
attr.put(“name”, firstName + " " + lastName);
AccountManager mAccount = AccountManager.getInstance(connection);
if (mAccount.supportsAccountCreation()) {
mAccount.sensitiveOperationOverInsecureConnection(true);
mAccount.createAccount(phone, phone,attr);
return true;
} else {
Log.e(“account”, “Cannot create account”);
return false;
}
}
iam getting following error msg
10-06 18:35:37.155: D/SMACK(30892): RECV (1): +919056989895+9190569898 95+919056989895minmin </i RECV (1): +919056989895+9190569898 95+919056989895minmin