如何使用android smack客户端检索聊天记录 [英] How to retrieve Chat history with android smack client

查看:136
本文介绍了如何使用android smack客户端检索聊天记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个聊天应用程序,我们已经在服务器上部署了eJabberd并使用了适用于Android的smack库客户端。
现在的问题是我无法显示以前的聊天记录。请帮助我获取聊天记录。

I'm developing a chatting application where we have deployed the eJabberd on server and using smack library client for android. Now the problem is i was not able to get the previous chat history to show. Please help me out in getting the chat history.

推荐答案

聊天记录(最新的x条消息)的检索方式如 XEP-0045多用户聊天。按照 XEP-0313邮件存档管理中的定义检索邮件存档。使用这些规范之一。

Chat history (latest x messages) are retrieved as defined in XEP-0045 Multi-User Chat. Message Archive are retrieved as defined in XEP-0313 Message Archive Management. Use one of those specifications.

这篇关于如何使用android smack客户端检索聊天记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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