啪和aSmack之间的区别是什么? [英] What is the difference between Smack and aSmack?

查看:229
本文介绍了啪和aSmack之间的区别是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不能够使用在Android上,而的 aSmack 完美的作品?相较源$ C ​​$ C,它看起来有点类似,哪里的差别从何而来?

I am not able to use Smack on Android whereas aSmack works perfectly? When compared the source code it looks somewhat similar, where does the difference comes from?

啪和aSmack之间的区别是什么?

推荐答案

啪< 4.1没有在Android上工作,因为的API在Android上(例如,大多数使用javax的API)失踪的居多,。这是aSmack构建环境诞生的原因。它是一种能够修改的Smack,以便它可以在Android可以使用。

Smack < 4.1 does not work on Android, mostly because of APIs missing on Android (e.g. most of the javax APIs). That is the reason the aSmack build environment was born. It is a way to modify Smack so that it can be used on Android.

除了很多小的改动最大的变化是

Besides many minor changes the biggest changes are

  1. 在不支持Android上禁用XMPP SASL身份验证方法
  2. 使用的javax API的阿帕奇和谐的SASL而不是

请务必仔细阅读自述并和init相关$做任何XMPP相关行动前的C $ C。

Make sure to read the README and and init the relevant code before doing any XMPP related actions.

更多信息,可以发现@ https://github.com/Flowdalic/asmack/wiki/修改

More information can be found @ https://github.com/Flowdalic/asmack/wiki/Modifications

这篇关于啪和aSmack之间的区别是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆