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
rahulgsa
Posts: 52
Registered: ‎05-31-2012
My Device: Not Specified
My Carrier: Airtel

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.

    

Please use plain text.
Developer
rishikeshsinghpbh
Posts: 121
Registered: ‎05-31-2012
My Device: 9900
My Carrier: Airtel

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
Please use plain text.
Developer
rahulgsa
Posts: 52
Registered: ‎05-31-2012
My Device: Not Specified
My Carrier: Airtel

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.

Please use plain text.