开发者

How to render web content in a blackberry screen?

开发者 https://www.devze.com 2023-04-13 06:09 出处:网络
In the past I have used: import net.rim.blackberry.api.browser.BrowserSession; BrowserSession browserSession = Browser.getDefaultSession();

In the past I have used:

import net.rim.blackberry.api.browser.BrowserSession;

BrowserSession browserSession = Browser.getDefaultSession();
browserSession.displayPage("http://www.google.com");

in order to open up new web pages. What I am trying to do is to render web content in the window itself. That is I do not want the URL address bar to show.

Is that 开发者_StackOverflow中文版even possible and how do I get about doing that?

Thanks


To open web pages within the application and not in default BB browser, you need to use BrowserField2. BrowserSession invokes default browser which has address bar. You can not hide it. Here is the BrowserField Sample Code

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号