powered by Jive Software

Changing user details

Does anybody now how to change account info using Smack?

I found method getAccountAttribute()[/b] in class AccountManager, but I can’'t see any modification methods like setAccountAttribute()[/b].

Please help me!

Hi slava_cps,

What sort of account info are you looking to change? If you’'re referring to the updating of private information or vcards take a look a url=http://www.jivesoftware.org/forums/thread.jspa?messageID=96739&#96739this post[/url].

Hope that helps,

Ryan

Hi ryang,

I’'m looking for methods for changing typical account attributes, such as: nick, name, email, about, url.

Thanks for the link, but I can’'t download vCard implementation for Smack because the link is broken.

Regards

Slava

Hi Slava,

I apologize for pointing you to a dead link, I should have checked it first. It looks like url=http://www.jivesoftware.org/forums/thread.jspa?messageID=90899this[/url] is the post Gato was referring to. Unfortunately, it looks like link in that post to the ftp site where the vCard classes were located no longer works. So, you might want to try contacting url=http://www.jivesoftware.org/forums/profile.jspa?userID=6995Pheet[/url] to see if he can provide you with those classes directly. If that doesn’‘t work, let me know and I’'d be happy to work with you on writing some code that would allow you to work with vCards.

Hope that helps,

Ryan

Actually, there’‘s some good vCard news. Gato checked an implementation into Smack’'s CVS repository recently so it will officially be a feature in the next release. For now, you may wish to download a nightly build of Smack.

Regards,

Matt

Good to know. Gato is making things too easy.

Thanks,

Ryan