谷歌地图没有在黑莓浏览器显示 [英] Google Map is not showing in Blackberry Browser
问题描述
大家好,
我试图在BlackBerry浏览器打开谷歌地图的网址,
但遗憾的是它没有显示谷歌的地图。
URL在其他的操作系统工作正常(Android设备,iPhone,Windows中)
Hello Everyone, I am trying to open Google-Map URL in BlackBerry Browser , but unfortunately it's not showing the Google-Map. The URL is working fine in other OS(Android , Iphone , Windows)
这里是网址: https://maps.google .COM /映射SADDR = DT4 + 8DX&放大器; DADDR = DT6 + 3JP
这里是我的黑莓code
here is the URL : https://maps.google.com/maps?saddr=DT4+8DX&daddr=DT6+3JP and here is my Blackberry Code
String address = "https://maps.google.com/maps?saddr=DT4+8DX&daddr=DT6+3JP";
Browser.getDefaultSession().displayPage(address);
// I also tried with this approach
String address = "https://maps.google.com/maps?saddr=DT4+8DX&
address = getUrlEncodedString(address);
Browser.getDefaultSession().displayPage(address);
private String getUrlEncodedString(String hsURL)
{
URLEncodedPostData urlEncoder = new URLEncodedPostData("UTF-8", false);
urlEncoder.setData(hsURL);
hsURL = urlEncoder.toString();
return hsURL;
}
请让我知道,这是为什么不显示G-地图。
please let me know , why this is not showing G-Map.
推荐答案
我试图网址这样的诺基亚和黑莓。在这个平台上我发现这个平台不通过URL呼叫支持。我认为,URL仅支持在android系统(原产于gogle地图)和iPhone的开发支持,通过URL来谷歌地图。
I try url like this in Nokia and Blackberry. In this platforms i found that this platforms dont support in call through url. I think that url is supported only in android (native to gogle maps) and Iphone that develop support to google maps through url.
请注意
如果你试图通过URL在黑莓浏览器中调用谷歌地图,答案
你得到的是谷歌网页搜索
If you try call google maps through url in Blackberry browser, the answer that you get is Google page search
这篇关于谷歌地图没有在黑莓浏览器显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!