Android smack 停止工作

发布于 2024-10-07 12:02:12 字数 333 浏览 0 评论 0原文

我正在玩 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

混吃等死 2024-10-14 12:02:12

抱歉,这是 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.

此刻的回忆 2024-10-14 12:02:12

是的,洪森。

谷歌又引入了一层安全层。它在那里已经有一段时间了。

对于访问 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文