Hello,may I ask if there is a example for how to change the password of a login people,by the way,I am using smack_3_0_4.
I have try to write one below, but I don’t know why,it do work,but the changed password is not the one I input(here is “pwd”),
AccountManager acntmg = jCntn.getAccountManager();
String pwd = “123456”;
try {
acntmg.changePassword(pwd);
} catch (XMPPException e) {
// TODO Auto-generated catch block
e.printStackTrace();
return false;
}
who can help me?