Questions tagged [browserfield]

BrowserField is a class of BlackBerry which is used to display web content within BlackBerry Java Application

This field will take up the dimensions of web content rendered within it. However, it does not provide the ability to scroll implicitly. Instead it is the BrowserField's container's responsibility to implement scrolling.

A simple example of using the BrowserField to render a web page is as follows:

// create new instance of the BrowserField
BrowserField browserField = new BrowserField();

// add the browser field to a ui manager or screen
screen.add( browserField );

// request the content you wish to display
// this method call is typically called once
browserField.requestContent( "https://stackoverflow.com" );

This class is added in BlackBerry Java Development since OS 5.0.0

API Reference

83 questions
2
votes
0 answers

Bitmap from BrowserField in BlackBerry?

In my application I am loading some HTML content in BrowserField. I want to get the browser content as a Bitmap. I used following code. Display.screenshot(Display.getWidth(), Display.getHeight()); But getting full screen. I need to take particular…
prakash
  • 644
  • 4
  • 21
2
votes
1 answer

Blackberry BrowserField white empty page issue

Hi i want to show html content in BrowserField. I used the code blove to do this but i only see white empty page. BrowserField demo = new BrowserField(); String res="

demo

"; demo.displayContent(res,…
KAPLANDROID
  • 1,099
  • 1
  • 12
  • 23
2
votes
1 answer

How to display HTML Image tag in BrowserField in RIM Blackberry

I want to display HTML tag in RIM BB component BrowserField. String str ="

\"bun\"

"; BrowserField…
2
votes
1 answer

BrowserField and lost connection

I have an app that uses a browserfield to connect to a web-page. All is working ok and the simulator shows the right page. If I set the simulator Network Properties to "Out of Coverage" and click on a link in my web-page then I get an exception - in…
AndroidJerry
  • 35
  • 2
  • 9
1
vote
1 answer

Blackberry webview can not connect to internet and/or display a web page

I am creating a simple app using Eclipse and Blackberry JRE 7.0 as per the example given at: http://docs.blackberry.com/en/developers/deliverables/11958/Configure_a_browser_field_825671_11.jsp I am trying to load a simple HTML page hosted on a…
user1221447
1
vote
1 answer

BrowserField crashes in BlackBerry 7

I am trying to create an application on BlackBerry 9930 simulator that authenticate the user with Facebook, using the BlackBerry Facebook API. It connects to the login page fine, but after that the entire application crashes, either when asking to…
1
vote
2 answers

BrowserField2 - salesforce oauth2 failing at Accept/Deny stage

I have a BlackBerry java-based app that works with salesforce data and uses oauth 2 for authentication. It has been working fine until recently when users have been complaining that once they get to the accept/deny salesforce oauth page, clicking on…
AndyMoose
  • 425
  • 3
  • 11
1
vote
5 answers

Blackberry BrowserField error in Simulator

I am new to Blackberry development and Im trying to simple get a BrowserField working. I get this errormessage: Tried reinstalling JDE etc. etc. but the app always gets an error when I run it on the simulator.. Any ideas? Here is my code: package…
DecodeGnome
  • 1,809
  • 1
  • 19
  • 36
1
vote
5 answers

Blackberry BrowserField does not fit to screen

I'm trying to display a website inside my blackberry app but the browserfield is smaller than the screen height and i can`t make it the same size. The page that is beeing loaded is actually smaller then the screen but the website is designed for…
1
vote
1 answer

Blackberry BrowserField handleNavigationRequest Blocking

When I try the code belowe it blocks the UI thread(I think) it loads a blank page. Can some one please tell me what is the correct way to implement handleNavigationRequest. I tried implementing it but when I tried to run I get an error that…
Maikel Bollemeijer
  • 6,545
  • 5
  • 25
  • 48
1
vote
1 answer

Is it possible to load Office documents in Blackberry using Browser Field and WP7?

It is possible to load Office documents, PDF in UIWebView in iOS and I think same case applies to Android. How about Blackberry and Windows ?
RK-
  • 12,099
  • 23
  • 89
  • 155
1
vote
2 answers

Editing a BrowserField's History

I have a BrowserField in my app, which works great. It intercept NavigationRequests to links on my website which go to external sites, and brings up a new windows to display those in the regular Browser, which also works great. The problem I have is…
Woody
  • 363
  • 2
  • 14
1
vote
1 answer

BlackBerry accessing JavaScript variable in BrowserField

I'm using 5.0 BrowserField and I'm able to invoke JavaScript function using browser.executeScript(".."); I need to read JavaScript variable. It's possible to directly access JS variable, or should I ask 3rd party to provide JS function for…
Janci
  • 863
  • 1
  • 9
  • 24
1
vote
0 answers

BlackBerry BrowserField Issue

My BlackBerry app uses BrowserField to display web pages. I have implemented the eventOccurred() method for the RenderingApplication. The first page loads fine. EVENT_BROWSER_CONTENT_CHANGED is fired after the URL is requested (EVENT_URL_REQUESTED)…
Dave
  • 4,038
  • 9
  • 45
  • 57
1
vote
2 answers

BlackBerry BrowserField problem on 9800

I'm using 5.0 field2.BrowserField as in-app browser, but on 9800 simulator page isn't displayed. (tested on SimPackage-6.0.0.246_9800-ATT,SimPackage-6.0.0.141_9800) BrowserField browser = new BrowserField(); add(browser);…
Janci
  • 863
  • 1
  • 9
  • 24