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

由网友(予夕)分享简介:我不能够使用啪在Android上,而的 aSmack 完美的作品?相较源$ C ​​$ C,它看起来有点类似,哪里的差别从何而来?I am not able to use Smack on Android whereas aSmack works perfectly? When compared the source...

我不能够使用啪在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

在不支持Android上禁用XMPP SASL身份验证方法 使用的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

阅读全文

相关推荐

最新文章