It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center
                            
                        
                    
                
                                6年前关闭。
            
                    
我正在尝试使用asmack API和XMPP在android中构建一个小型聊天应用程序。
在线聊天正在运行,但我不知道如何从openfire服务器获取脱机消息。
如果您对此问题有任何解决方案,请帮助我........ !!!!

最佳答案

下次登录并发送在线状态时,脱机消息会自动从服务器传递到客户端。客户端上不需要其他代码即可检索它们。

08-17 21:56