模拟器无法正确显示网页内容
我正在使用 webview 显示来自特定 URL 的内容。
通过在计算机浏览器中
第二个链接 分别打开来检查第二个和第三个链接 和 第三个链接 。
第二个和第三个链接在计算机浏览器中工作正常,但是当我尝试在 webView 中加载它们时,它没有正确显示。
在第二个链接中,链接正在打开,但图表没有显示,而在第三个链接中根本没有显示任何内容。
第三个链接还包含使用第二个链接制作的图表。
出现这个问题是因为android模拟器的限制吗?
请注意,我尝试使用 4.0 模拟器,但得到了相同的输出...
任何帮助都将挽救生命!!!
屏幕截图
I'm using webview to display content from certain URL.
Check 2nd and 3rd links by opening separately in your computer browser from here
2nd and 3rd links works fine in computer browser but when I try to load them in webView, it is not getting properly displayed.
in 2nd link, link is getting opened, but charts are not getting displayed while in 3rd link nothing is getting displayed at all.
3rd link also contains a chart made using 2nd link.
Is this problem occurring because of any limitation of android emulator?
Note that I TRIED WITH 4.0 EMULATOR, BUT I GET THE SAME OUTPUT...
ANY HELP WILL BE LIFE-SAVER !!!
Screen Shot
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
看来这些链接都使用 SVG。这是在 3.2 中引入的,作为快速谷歌显示: https://www.google.com/search?q=android+svg+browser+support&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla: en-US:official&client=firefox-a
这在 2.2 中不支持,我建议使用模拟器版本的 honeycomb、3.2 或冰淇淋三明治。
It appears the links are all using SVG. That is introduced in 3.2 as a quick google shows: https://www.google.com/search?q=android+svg+browser+support&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
This is not supported in 2.2, I would recommend using a simulator version of honeycomb, 3.2 or IceCreamSandwich.
网页在移动设备中出现皱褶的常见原因之一是因为它们是针对浏览器宽度和高度而不是移动版本设计的。简单示例:查看浏览器和手机上 facebook 页面的差异。它很适合,因为它是移动版本(m.facebook.com,m.google.com)。如果可以,请获取该网页的移动版本。
One of the common reasons for the web page to appear crumpled in mobile is because they are designed for browser width and height and not mobile versions.Simple example: See the difference in facebook page on browser and on phone. It fits properly because it the mobile version ( m.facebook.com,m.google.com).If you can , then get the mobile version of the webpage.