views:

135

answers:

1

Hi all! Please can anyone help me with my issue - what is the way to know that browserfield2 has finished loading in Blackberry. I need to set some options after loading. Does browserfield2 have some methods to show that?

+1  A: 

Here is some code that will get you started.

BrowserField browserField = new BrowserField();
 BrowserFieldListener listener = new BrowserFieldListener() {
     public void documentLoaded(BrowserField browserField, Document document) throws Exception
     {
         // the document has loaded, do something ...
     }
 }
 browserField.addListener( listener );
MIchael Grassman
Thank you!!! It helped!!!
Yuriy
Helped enough to count towards an answer?
MIchael Grassman
Yes, it was enough!
Yuriy
Could you accept the answer?Thanks
MIchael Grassman
Yes, I do accept the answer.
Yuriy
You voted up but didn't click accept. You have a 0% accept rate. Thanks,
MIchael Grassman