This Question is Not Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (5 pts)
1 Replies Last post: May 10, 2008 4:04 AM by will  
will Bronze 2 posts since
May 9, 2008
Currently Being Moderated

May 10, 2008 12:16 AM

change password problem using smack api

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 {

             &n bsp; acntmg.changePassword(pwd);

          } catch (XMPPException e) {

             &n bsp; // TODO Auto-generated catch block

             &n bsp; e.printStackTrace();

             &n bsp; return false;

          }

          

who can help me?

More Like This

  • Retrieving data ...