How to retrieve one to one chat history from Openfire using asmack android

本秂侑毒 提交于 2019-12-18 16:51:55

问题


Please can anyone show me the exact code for retrieving a chat history from openfire server to android client application using asmack library and XMPP protocol? In my openfire server I was enable merged Monitoring service/Open archive service and all messages successfully stored into database. But I don't know how those messages (chat history) retrieve to my client application which is building in ANDROID. What type of chat I need is one-to-one user chat (not group chat).

I am success ed to getting group chat history with help of this but i want to retrieve one to one chat history

Please if anyone can write me a code, I'd be very grateful.

Thanks!

来源:https://stackoverflow.com/questions/27125713/how-to-retrieve-one-to-one-chat-history-from-openfire-using-asmack-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!