![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
xmpp/smack
爱去玩
这个作者很懒,什么都没留下…
展开
-
xmpp/smack判断指定好有是否在线
Roster roster = LoginToolUtil.getInstance().getConnection().getRoster(); Presence presence = roster.getPresence("user@domin"); if (presence.getType() == Presence.Type.available) {//离线 Lo原创 2013-02-21 20:02:42 · 4072 阅读 · 2 评论 -
asmack正确设置connectionConfiguration
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { connectionConfiguration.setTruststoreType("AndroidCAStore"); connectionConfiguration.setTruststorePassword(null);原创 2013-05-04 22:08:45 · 2408 阅读 · 0 评论