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
2 answers

Displaying HTML content in a Field in blackberry

I am getting JSON response from the server..Inside that JSON string i am having HTML content which i need to display in a field.. Can anyone help..
tek3
  • 2,095
  • 2
  • 20
  • 50
0
votes
1 answer

Usage of Object invoke(Object thiz, Object[] args) method in BlackBerry

Can anybody please explain me how the arguments in invoke method can use correctly. browserField.extendScriptEngine("interesting.test", new ScriptableFunction() { public Object invoke(Object thiz, Object[] args) throws Exception { …
AnujAroshA
  • 4,623
  • 8
  • 56
  • 99
0
votes
1 answer

How to code for horizontal scrolling for BrowserField in BB

I am new to BB development. I want to load a WebView inside my BB application without using the default device browser to load the URL. Following is the code I have used inside my BrowserScreen class which extends MainScreen. BrowserField…
AnujAroshA
  • 4,623
  • 8
  • 56
  • 99
0
votes
1 answer

Blackberry list field without canvas

Is it possible to create a customized list field in BB, where each row will have 4 different labels, and a bitmap field, without implementing the drawListRow method? Since drawListRow uses canvas I want to avoid it. Because, I need to display a…
Hades
  • 75
  • 1
  • 12
0
votes
2 answers

Open PDF file in blackberry?

How do I open a PDF file through the BB default browser? Currently I am using the below code, but it is throwing a HTTP Error 500: Internal server Error public static void openBrowser(String url, String contentType, Object objBody ) {…
Sam-In-TechValens
  • 2,501
  • 4
  • 34
  • 67
0
votes
2 answers

Blackberry BrowserField Base Url

I have been trying to show some HTML content from SD card in the browser Field and every time instead of rendering the HTML data,browser Field renders the Base URL.I tried to find the reason for the same and couldn't get any solution.I didn't find…
ranjeet wagh
  • 306
  • 3
  • 2
-1
votes
1 answer

how to get url from browser in blackberry?

In BB when user typed any URL into the browser and hit enter.... then is it possible to get/track/fetch that url..??? shuld i implement any ineterface in my application.......that can track, when user opens the browser and passes a url. I just…
-3
votes
1 answer

how to authentication given username password to login in Browserfield in blackberry

I am new to blackberry. I want how to authentication in browserfield BrowserField web; String Usname="yahoo@yahoo.com"; String password="123456788"; setTitle("sample"); String Welcome…
Pandiyan Muthu
  • 1,040
  • 4
  • 21
  • 39
1 2 3 4 5
6