How to register a new user on XMPP using (a)Smack library

Rahul Kalidindi picture Rahul Kalidindi · Dec 18, 2010 · Viewed 13.4k times · Source

I have set up a xmpp server and android client using the great post here... I have some pre defined users set up in the xmpp server and i could login with those credentials.

Now, from my app i want to register as new users to the xmpp server through the android client. Can anyone please suggest me how to attain this... Any help will be grately appreciated...!!!

Answer

Flow picture Flow · Aug 21, 2011

Smack has InBand registration functionality that can be used via the AccountManager class. Note that not every server has this feature implemented/enabled.