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
0
votes
1 answer

Browser Progress Tracker in Blackberry BrowserField

Has anyone been able to implement a progress tracker bar for a BrowserField in blackberry i'm struggling with this. I want to tell the user that something is actually happening when he opens the browser field in my app. I already checked the…
8vius
  • 5,786
  • 14
  • 74
  • 136
0
votes
1 answer

BlackBerry BrowserField executing javascript

I tried a simple javascript [Example: document.getElementById("mydiv").style.display = "none";] on a web page and tested it on BlackBerry 4.5 simulator browser and it worked. Now I have an app (JRE 4.5 - Eclipse Plugin) with a BrowserField embedded…
Dave
  • 4,038
  • 9
  • 45
  • 57
0
votes
1 answer

How to read javascript variable from BrowserField

I'm using 5.0 field2.BrowserField and executeScript method for invoking javascript. I try to read single javascript value, but I'm getting ThrownValueWrapper error Object obj = browser.executeScript("javascript:varName;"); how to read javascript…
Janci
  • 863
  • 1
  • 9
  • 24
0
votes
2 answers

BlackBerry BrowserField IllegalStateException

I'm trying to implement simple user interaction with field2.BrowserField: when button is clicked BrowserField loads another page, but I'm getting IllegalStateException. here's my code: public class BrowserScreen extends MainScreen { private…
Janci
  • 863
  • 1
  • 9
  • 24
0
votes
1 answer

BrowserField Blackberry

We are writing a blackberry applciation which has social media integration, we are able to invoke the browser using BrowserSession and call the facebook link with the sharer link http://m.facebook.com/?sharer= , this works perfectly fine , however…
Ravi
  • 11
  • 2
0
votes
1 answer

BlackBerry BrowserField displaying a webpage - detect when user navigates to other pages

I have a BrowserField in my application displaying a webpage. Is there a way to detect browser navigation when user clicking on one link in the webpage and move to another webpage?
Tuyen Nguyen
  • 4,389
  • 7
  • 51
  • 77
0
votes
1 answer

How can i display a webpage in a BlackBerry Browser field?

i'm developing a aplication for blackberry and i want to display a simple webpage (for example www.google.com). i'm having troubles using the examples on the blackberry developer page, can anyone give me an example that work? i'm using Eclipse and…
user388508
  • 11
  • 2
0
votes
1 answer

Blackberry how to display message in app if device got no internet connection?

I've just started with programming for the Blackberry device. I'm using version 5 of the API. I'm building a very simple application which is just a browserfield. So far it's all working great. I can display my browserfield with the content I…
Brigante
  • 1,921
  • 6
  • 23
  • 33
0
votes
1 answer

Save image from browserfield blackberry

BrowserFieldConfig myBrowserFieldConfig = new BrowserFieldConfig(); protocolController = new ProtocolController(browserField) { public void handleNavigationRequest(final BrowserFieldRequest request) throws Exception { …
0
votes
1 answer

Loading screen inside handleNavigationRequest in Browserfield Blackberry

Inside my application, I'm displaying a website using BrowserField. And when each link inside the site is selected, I need to show loading screen so that the user won't feel blank. I was able to add the loading screen inside this method public void…
Kris
  • 189
  • 13
0
votes
0 answers

Browserfield not displaying in BlackBerry Curve 9360

In my BlackBerry application, I am using a browserfield to display a URL. This is working fine on the Bold 9700, and Bold 9900. But on the Curve 9360 it shows connection timed out: port 80 Working Scenario Location: Bangalore, India Network :…
user59
  • 11
  • 2
0
votes
0 answers

Displaying image in blackberry browser field

I have this html that comes from a web service and inside it there is an img tag, the problem is that when displaying the html content on a BrowserField, the images can´t be resolved, so they won't show. Is there a way to enable the browserField to…
danielrvt-sgb
  • 1,118
  • 5
  • 17
  • 33
0
votes
0 answers

Blackberry BrowserField2Demo redirect

I'm working with the JDE 7.1 in BrowserField2Demo and want to know how to intercept the "pre-load" event. The "OLD" BrowserFieldDemo had events such as "Event.EVENT_URL_REQUESTED" that would allow URL pre-load manipulations. Where do these events…
user386093
  • 67
  • 8
0
votes
1 answer

How to implement caching in Blackberry?

Is it really possible to cache html pages in Blackberry ? I'm displaying web pages in BrowserField inside Blackberry application. And I want to cache the pages that has been viewed by the user, so that the next time when the user tries to open the…
Kris
  • 189
  • 13
0
votes
1 answer

Is it possible to make the browser field to fit to the actual size of the device screen?

I'm using browser field2 to load the content of a URL inside the application. The data gets loaded successfully. But my requirement is to shrink the data and display that in such a way that without any scrolling the entire content should be visible…
Kris
  • 189
  • 13