BlackBerry Forums Support Community

BlackBerry Forums Support Community (
-   Developer Forum (
-   -   Blackberry Browserfield example not launching (

tujasiri 06-14-2012 05:36 PM

Blackberry Browserfield example not launching
Greetings All,

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


package mypackage;

  import net.rim.device.api.browser.field2.BrowserField;
  import net.rim.device.api.browser.field2.BrowserFieldConfig;
  import net.rim.device.api.ui.UiApplication;
  import net.rim.device.api.ui.container.MainScreen;

 public class BrowserJazz extends UiApplication
 public static void main(String[] args)
    BrowserJazz app = new BrowserJazz();

 public void BrowserJazz()
    pushScreen(new BrowserFieldDemoScreen());

 class BrowserFieldDemoScreen extends MainScreen
public BrowserFieldDemoScreen()
    BrowserFieldConfig myBrowserFieldConfig = new BrowserFieldConfig();


    BrowserField browserField = new BrowserField(myBrowserFieldConfig);

    /*BrowserFieldListener listener = new BrowserFieldListener() {
        public void documentLoaded(BrowserField browserField) throws Exception
            // the document has loaded, do something ...
            Dialog.inform("PAGE LOADED!");

    //browserField.addListener( listener );

    browserField.requestContent("link to google had to be removed to post");
    //browserField.addListener( listener );


Any ideas?


Dougsg38p 06-15-2012 07:31 AM

Re: Blackberry Browserfield example not launching
What OS level is on the device?

Are you checking the device event log?

tujasiri 06-15-2012 10:16 AM

Re: Blackberry Browserfield example not launching
The OS level of the simulator is 7.0, my device is at 6.0.

I was not checking the event log, but I just did. What would I be looking for there?

I see "E Application Error -- ivhs" occurring MANY times...

Dougsg38p 06-15-2012 10:56 AM

Re: Blackberry Browserfield example not launching
You cannot compile on 7.0 and deploy on 6.0 - your JDK level has to be <= the OS level of the target.

All times are GMT -5. The time now is 05:45 AM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.