加载网址进入网页流量和隐藏地址栏 [英] Load URL into webview and hide address bar

查看:393
本文介绍了加载网址进入网页流量和隐藏地址栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于我在黑莓开发新手,我不知道我应该怎么实现对以下问题:

As i am newbie in BlackBerry development, i don't know what should i implement for the below problem:

我要加载网页的网页视图内(导航应该是应用程序中)和隐藏的WebView的URL地址栏。)

I want to load web page inside the webview (Navigation should be within application) and hide the URL address bar of the webview.)

我知道我们在做Android的作为,使webViewClient并加载相同了Android里面的WebView内的溶液。但我不知道关于黑莓的精确解。

I know the solution we do in Android as to make webViewClient and load the same inside the WebView inside the Android. But i don't know about the exact solution for the BlackBerry.

还有一件事,我已经通过 BrowserField 演示,但我无法加载,即使这个例子:

One more thing, i have gone through BrowserField demo but i am not able to load even this example:

我能够加载的URL,如下错误是由 MDS 服务。

I am able to load the URL and below error is gone by starting simulator with MDS service.

推荐答案

<一个href=\"http://www.blackberry.com/developers/docs/5.0.0api/net/rim/device/api/browser/field2/BrowserField.html\"相对=nofollow> BrowserField 应该是正确的解决方案。确保模拟器正确地在BlackBerry浏览器访问的网页进行配置。

BrowserField should be the right solution. Make sure that the simulator is correctly configured by accessing a web page in the blackberry browser.

这篇关于加载网址进入网页流量和隐藏地址栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆