-
1 votesanswersviews
Asmack / Openfire 401错误
我正在尝试使用asmack在Android上编写一个简单的XMPP应用程序,但我遇到了一个问题,我无法登录到几个jabber服务器 . 例如,我无法登录我的测试Openfire服务器,尽管代码可以正常使用jabber.org帐户 . 登录代码: public void login() throws XMPPException { if (connection != null &&a... -
2 votesanswersviews
aSmack连接到openfire . 无法连接,openfire错误日志显示“无法识别的SSL消息,明文连接?”
嗨,我想连接到一个openfire服务器 . 使用以下代码: ConnectionConfiguration config = new ConnectionConfiguration(hostName, 5222); XMPPConnection connection = new XMPPConnection(config); try { ... -
1 votesanswersviews
在openfire中搜索用户时出现错误请求400
我试图在明火中搜索用户 . public void searchUser(String username) { UserSearchManager userSearchManager = new UserSearchManager( xmppConnection); Form searchForm; try { ... -
0 votesanswersviews
适用于OpenFire Server的Android客户端
我正在开发一个Android聊天应用程序,它必须连接到我的机器上运行的OpenFire服务器 . 我尝试了很多选项,但连接都无法连接 . 如果你们中的任何人尽早了解相同情况,请提供帮助 . 我在我的应用程序中使用smack.jar . 以下是我的代码中的几行: String username = "test@inbasdpc06783"; String password... -
2 votesanswersviews
Openfire:即使我已经连接到Openfire服务器,也不能在几(2-3)小时后发送数据包
我使用以下软件进行Android聊天应用程序 XMPP服务器:Openfire 3.9.3 XMPP客户端:Asmack-android-8-4.0.4.jar 当我手动更改登录用户的存在时,我正面临一些Openfire服务器的奇怪行为 . 下面是我班上的一段代码 xmppConfig.setSendPresence(false); // Call first time only wh... -
-2 votesanswersviews
连接到本地openfire服务器android
我正在开发Ubuntu . 我正在尝试将我的xmpp客户端连接到本地openfire服务器 . AndroidConnectionConfiguration configuration = new AndroidConnectionConfiguration( host, Integer.parseInt(port), service); SASLA... -
1 votesanswersviews
asmack-android-8-4.0.6:使用DIGEST-MD5的SASLError:未经授权
成功连接后登录时出现以下错误: 01-15 20:44:07.448 30164-30196/com.stm.myjob E/XMPPService﹕ Failed to log in as 8b6c219c36578e893c5e6d1d7b5af8a 01-15 20:44:07.448 30164-30196/com.stm.myjob E/XMPPService﹕ org.jiveso... -
0 votesanswersviews
离线消息不能从xmpp MongooseIM服务器的smack api 4.1.6中恢复
我正面临着使用来自XMPP Mongoose服务器的smack api在Android应用程序中检索离线消息的问题 . 根据代码流尝试在用户在mmpo服务器上发送可用状态之前登录xmpp mongoose服务器时检索脱机消息 . 尝试用两种不同的方式来检索离线消息仍然无法找到相同的工作解决方案 . 我尝试过这些方法的两种方法都在下面详细说明 . 在Api以下我们用于xmpp连接和所有其他扩展: /... -
2 votesanswersviews
连接到openfire服务器时出现Samck 4.1错误(org.jivesoftware.smack.sasl.SASLErrorException:使用DIGEST-MD5的SASLError:未经授权)
public void connect(){AsyncTask connectionThread = new AsyncTask(){@ Override protected Boolean doInBackground(Void ... arg0){boolean isConnected = false; StrictMode.ThreadPolicy policy = new StrictMo... -
1 votesanswersviews
XMPP XEP 0333在SMACK中的实现
我正在开发一个基于XMPP的聊天应用程序 . 我的要求是我需要像whatsapp一样显示读/交状态 . 通过一些研究,我了解到我需要使用XEP-0333聊天标记来实现此功能 . 在XMPP ios框架中,我们支持XEP-0333 . 对于android我正在使用 Smack 库 . 我没有在Smack库中看到任何XEP-0333的实现.Mck已经实现了过时的XEP-0022,而不是这个 . 有人可...