如何使用(一)拍击库在XMP​​P注册一个新用户新用户、如何使用、XMP

2023-09-06 13:17:09 作者:占爱为王

我已经建立了一个XMPP服务器和Android客户端的这里使用的伟大的职位 ......我有一些pre定义的用户设置的XMPP服务器,我可以登录使用这些凭据。

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.

现在,从我的应用程序,我想通过Android客户端注册成为新用户的XMPP服务器。任何人都可以请建议我如何达到这个...任何帮助将是grately AP preciated ...!

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

推荐答案

我通过开发一个web服务需要用户名和密码是POST参数解决了这个问题。 如果我们张贴的用户名和pasword,web服务注册一个新用户。

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