Search code examples
androidxmppsmack

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


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...!!!


Solution

  • I solved it by developing a webservice that takes the username and password as post parameters. If we post the username and pasword, the webservice registers a new user.

    Instead of signing up from the app i found this to be rather simple...