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

84 questions
47
votes
1 answer

How to cache in a Blackberry BrowserField

I am creating a Blackberry application to display a full screen web view of a certain site. I have a working browserfield that displays properly but navigation from page to page is slower than that of the native browser. The browserfield does not…
Scott Boettger
  • 3,607
  • 2
  • 30
  • 43
6
votes
1 answer

Blackberry BrowserField Issue -

I am using 'net.rim.device.api.browser.field2.BrowserField' for loading an html page with 2 scripts. script 1 (Jquery) script 2 (Jquery mobile) The 2nd script gets loaded twice. Its like the script gets loaded no. of times as per its position in…
RATTLESNAKE
  • 3,220
  • 2
  • 18
  • 22
4
votes
0 answers

Blackberry BrowserField2 extreemly slow loading times

I am currently trying to load some pages with a BrowserField2 but the loading time takes way to long. Loading the same page in the OS Browser works fine (<5 sec) but loading it within my app takes >30 seconds. What could be the reason? Here is my…
DecodeGnome
  • 1,769
  • 1
  • 18
  • 36
4
votes
3 answers

Blackberry 5.0 - BrowserField handle link clicked

I am trying to handle an event in BrowserField when the user actually clicks a link. I studied BrowserFieldListener, tried its documentCreated() method but that gives me a response when the page starts loading. I want a trigger the moment user…
Jazib
  • 1,180
  • 1
  • 16
  • 37
3
votes
2 answers

Twitter Integration in Blackberry: Login Page not in English

I am trying to integrate twitter using Twitter Api me 1.8 . When i try to authorize using OAuth the login Screen look like below .Some invalid charecters are showing.please help me to identify the problem thanks
Ajmal M A
  • 1,506
  • 20
  • 43
3
votes
1 answer

how to open default blackberry browser when click on loaded page through browserfield

how to open default blackberry browser when click on browserfield. i am trying load a html page on browserfield when i click on opened browser page that time i want to open blackberry default browser. BrowserField browser = new BrowserField(); …
Mayur Bhola
  • 735
  • 4
  • 16
3
votes
1 answer

How to refresh the Browserfield

I am using a class in which I am loading some text and images in browser field by using html tags.Now I want to change the text dynamically, how to refresh the browser field once after loading the screen. If I use onclick tag on html to detect the…
Padma
  • 656
  • 2
  • 11
  • 30
3
votes
0 answers

How to make background of BrowserField transparent in Blackberry

I am using BrowserField component of RIM BB. It is right now displaying a white background. I want make a transparent background, so it could match with the Manager's background color. I had tried with below code. But it's not working. BrowserField…
2
votes
0 answers

Blackberry BrowserFieldHistory Does Not Get Updated by history.go(-1) javascript

Have an application that is using a BrowserField. The web site that is rendered within it all works fine except for an issue where pages have a back button that executes the following javascript: history.go(-1); The page itself in the browser does…
2
votes
1 answer

long time in loading web page on blackberry

I am using a browser field to display a web page, however it takes about four times as long to load a page, as compared to the default browser on BlackBerry. I want to speed up this load time. I found that using a cache can decrease the load time.…
mobileDeveloper
  • 874
  • 2
  • 14
  • 34
2
votes
1 answer

BlackBerry - BrowserField - NAVIGATION_MODE_NODE - OS 6.0 - Radio buttons don't work

[OS 6.0, BrowserField, NAVIGATION_MODE_NODE] I have a strange problem here... I must develop an application (6.0) which will use the BrowserField for rendering some HTML files. It will use NAVIGATION_MODE_NODE, the keypad will be used to navigate…
tibi95
  • 41
  • 5
2
votes
1 answer

Getting Graphics-Object or Bitmap from BrowserField on Blackberry

I would like to get the Bitmap of the content of a webpage as it is displayed in the BrowserField. Therefore I'd need the Graphic-object of the browser field. But the paint-method is protected unfortunately. Is there a way to get this? Thank's
mrgremlin
  • 321
  • 2
  • 15
2
votes
1 answer

How do I set a BrowserField to fill the available screen space?

I have a BrowserField that is displayed on the main page of a BlackBerry application I am working on. It is intended to fill all the screen space below the header image. I haven't been able to find a way to do this so far. Does anyone have any…
Evertiro
  • 737
  • 6
  • 19
2
votes
1 answer

HTML Source from Browser Field in BlackBerry

How can I get the page source of a web page in a BrowserField inside a BlackBerry application?
Kris
  • 189
  • 13
2
votes
1 answer

Display Simple Web Page In My Application Using Blackberry BrowserField

What I am trying to do is display a simple web page in my application (no javascript,cookies or any scripting and not trying to detect any events such as mouse click etc.). I am using the code below and right now all I get is empty screen .. I know…
ankit
  • 21
  • 2
1
2 3 4 5 6