smack user登陆

时间:2015-08-19 19:57:34   收藏:0   阅读:190
ConnectionConfiguration config = null;
config = new ConnectionConfiguration(loginServer, 5222);
XMPPConnection connection = new XMPPConnection(config);
connection.login("username","password")

 

原文:http://www.cnblogs.com/feimeng0530/p/4742838.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!