Android smack 停止工作
我正在玩 Android 版 Smack - 使用 xmpp 协议编写聊天客户端。我从这里使用了修补过的 Smack http://people.apache.org/~dims /android/XMPPClient-2.zip
昨天,我可以通过手机(带有 jabber.org 帐户)与 Gmail 帐户聊天,并且在大约 30 分钟内多次连接/断开连接,效果良好。但今天我走进办公室,再次尝试聊天——但没用。很奇怪。有人遇到过这个问题吗?
最好的, 儿子
I am playing around Smack for android - writing a chat client using xmpp protocol. I used patched Smack from here http://people.apache.org/~dims/android/XMPPClient-2.zip
Yesterday, I could chat from my phone (with an jabber.org account) to an gmail account, and it worked well for several times connect/disconnect in about 30 minutes. But today I came into office, tried to chat again - and it just doesn't work. It's weird. Have anyone ever met that problem ?
Best,
Son
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
抱歉,这是 Gmail 帐户的问题。我仍然不知道为什么,但是当我使用 2 个 Jabber 帐户时就会出现问题。
Sorry, that was the problem from Gmail account. I still don't know why, but when I use 2 Jabber accounts then there's on problem.
是的,洪森。
谷歌又引入了一层安全层。它在那里已经有一段时间了。
对于访问 Gmail 或任何 Google 服务的任何第三方应用,需要从
https://www. google.com/settings/security/lesssecureapps
此后您应该不会看到此问题。
请尝试一次。
Yeah Hungson.
Google has introduced one more security layer. Its been there for quite some time.
For any third party apps that access gmail or any google service needs to be enabled from
https://www.google.com/settings/security/lesssecureapps
Thereafter you shouldn't see this issue.
Please try once.