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
1
vote
1 answer

Getting web response when button clicked in BlackBerry

I have loaded a web page in BB as follow //RegBrowserFieldConfig extends BrowserFieldConfig RegBrowserFieldConfig regBrowserFieldConfig = new RegBrowserFieldConfig(); //RegBrowserFieldListener extends BrowserFieldListener RegBrowserFieldListener…
AnujAroshA
  • 4,623
  • 8
  • 56
  • 99
1
vote
1 answer

How can I load HTML page in BrowserField?

I have one HTML page shows map which i want to display in BrowserField. Here is my code. BrowserFieldConfig _bfConfig = new…
Solution
  • 604
  • 4
  • 10
1
vote
0 answers

Blackberry OS 5 web application performance tuning

We have a web application in jquerymobile 1.0.1 and jquery 1.7.1. For BB devices we have created a wrapper application using BrowserField JDE 5 API, which is used to launch the application UI. Using web DOM cache to work in offline mode. Performance…
1
vote
0 answers

Blackberry BrowserField error loading url

I am using verticalfield manager to load data and browserfield to load url but both are in the same screen. I am just swapping both as per my need using replace(field1,field2). But when i am trying to load url on bwoserfield, it can not load the…
Himanshu Dudhat
  • 1,609
  • 3
  • 14
  • 27
1
vote
1 answer

Blackberry Browserfield example app not launching

I'm attempting to run a very simple Blackberry/Java application which implements the BrowserField class. When I launch it in the simulator it just hangs. When I launch it on my device nothing happens. JRE: 7.0 Simulator: 4.0.0.141 …
T. Ujasiri
  • 317
  • 1
  • 3
  • 14
0
votes
2 answers

Loading dialog BlackBerry Browserfield

How can I add an loading dialog to my Browserfield when the page is loading? Thanks
Rick de Jong
  • 237
  • 1
  • 4
  • 12
0
votes
1 answer

Blackberry simple progressbar for BrowserField2

In my app I have a BrowserField2 loading different pages and I want to show a simple spinning progressbar/indicator. As simple as possible really, without percent etc. - just a small animation to indicate to the user that something is happening. I…
DecodeGnome
  • 1,809
  • 1
  • 19
  • 36
0
votes
2 answers

Blackberry scoll only browserfield, not entire app-layout

I have a verticalfieldmanager with buttons and below that a browserfield. The problem is that when I scroll vertically in the browserfield the whole layout of the app scrolls with it(!).. I've been looking like a mad man for a sollution but haven't…
DecodeGnome
  • 1,809
  • 1
  • 19
  • 36
0
votes
2 answers

initially load a page with the BrowserField and then have links clicked in that open up in the BB browser instead of the BrowserField?

I want to initially load a page (stored html page) with the BrowserField and then have links clicked in that open up in the BB browser instead of the BrowserField? My current code is as…
aniket.ghode
  • 86
  • 1
  • 9
0
votes
1 answer

How to change title of BlackBerry BrowserField when a certain link is clicked

I've been trying to find a way to add a listener to the BlackBerry BrowserField for when the user clicks a link and the URL changes. I have tried adding a BrowserFieldListener below, but I keep getting a warning message declaring that Document…
user994013
  • 189
  • 1
  • 6
0
votes
2 answers

How to display local HTML text in blackberry using sdk 4.6

Till now i was using SDK 5.0 and was able to dispaly local html text using net.rim.device.api.browser.field2.BrowserField but now my requirement has changed and have to use SDK 4.6. The problem is that now i'm getting compiler error for the…
Rahul Sharma
  • 3,637
  • 2
  • 20
  • 18
0
votes
1 answer

Display two separate web pages simulaneously in single BlackBerry app

I'm writing the HTML for a hybrid (iPhone/Android/Blackberry) mobile application. I'm not directly involved in the BlackBerry development side of things, but I am being told it is impossible to display two pages of HTML simultaneously on the same…
Andrew
  • 14,204
  • 15
  • 60
  • 104
0
votes
2 answers

BrowserField can't display HTML pages

I am using a BrowserField to display HTML pages, but the page does not fit into the screen, it gets cut: when i try this page with the browser of blackberry, it work very well: Can anyone give me example of setting of browserfield ? Thanks in…
rouge
  • 3
  • 2
0
votes
1 answer

how to handle clicked links in blackberry

i have blackberry two examples for displaying html contents 1 - for blackberry 5.00 using BrowserField 2 - for blackberry 4.6 using RenderingApplication and HTTPConection i need to know who to handle clicked links in each one ? and if there is…
ahmed Shoeib
  • 254
  • 6
  • 22
0
votes
1 answer

Blackberry BrowserField2 and AJAX

I'm trying to embed a browser in my Blackberry app. It has some ajax functionality. For testing purposes I have an asp.net page with a dropdownlist (with AutoPostBack=true) that updates a label with the selected list item's text when the index…
Brett
  • 167
  • 2
  • 7