Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 52
Registered: ‎05-31-2012
My Device: Not Specified

how to increase the time out of browser field

Hi,

       I am using BrowserField to show a web page in my application but i am facing the problem of time out, so i want to increase the time out of BrowserField.

 

 

Please help me.

    

Developer
Posts: 121
Registered: ‎05-31-2012
My Device: 9900

Re: how to increase the time out of browser field

Hi Rahul,

                set the value of BrowserFieldConfig.JAVASCRIPT_TIMEOUT property in BrowserFieldConfig as follows--

 

setProperty(BrowserFieldConfig.JAVASCRIPT_TIMEOUT, new Integer(50000));

 

By default this is 500 ms.

 

Hope this will help you.

 

Thanks:smileyhappy:

 

 

Rishikesh Singh
Developer
Posts: 52
Registered: ‎05-31-2012
My Device: Not Specified

Re: how to increase the time out of browser field

Hi Reshikesh i have already set that property but i think it is not working.