Android 版 Facebook API 显示空白窗口
我正在使用 Facebook API 从我的 Android 应用程序向 Facebook 发布消息。我已经在各种不同的手机上进行了测试,但在某一特定手机上,Facebook API 只弹出一个空白的白色对话窗口,不会加载 FB 登录页面。
我已经在 Samsung Galaxy S、HTC Desire、HTC Sensation 上进行了测试,效果很好,但当我在 HTC Wildfire S 上尝试时,它不起作用。
LogCat 中没有弹出任何消息,并且使用调试器单步调试也没有发现任何问题。
查看 Facebook 提供的代码,我可以看到它只是一个正在创建的 WebView。有一个名为 onPageFinished(..) 的函数被调用,但 WebView 中没有任何内容。
我不太确定该如何解决这个问题。我尝试清除手机上的一些设置,但没有成功。有人有什么想法吗?
I am using the Facebook API to post messages to Facebook from my Android app. I have tested it out on various different phones, yet on one particular phone the Facebook API just pops up a blank white dialogue window that doesn't load the FB log in page.
I have tested it on the Samsung Galaxy S, the HTC Desire, HTC Sensation and it works fine - but when I try it on the HTC Wildfire S it does not work.
There are no messages popping up in LogCat and stepping through it with the debugger does not reveal any problems.
Looking through the code provided by Facebook I can see it is just a WebView which is being created. There is a function called onPageFinished(..) which gets called but there is nothing in the WebView.
I'm not really sure what to try to fix this. I've tried clearing some settings on the phone but that did not work. Does anybody have any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论