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

New Member
Posts: 1
Registered: ‎03-14-2012
My Device: 8200
My Carrier: Airtel

BrowserField2 - loading same resource multiple times

[ Edited ]


We are facing some issues in the hybrid approach. 
In the application, we are trying to load html page which has two script tags in it :
1. script 1(Jquery)
2. script 2 (Jquery mobile)
The 2nd script gets loaded twice in the hybrid blackberry build. Its like the script gets loaded no. of times as per its position in the html file.
eg : 5th position script file will get loaded 5 times and respectively.
On the Blackberry Native Code side :
We are using the BrowserField2 class to load the html page. 
We are really stuck with this issues and not able to move further. 
Can anyone please help us in debugging this issue? I am not sure what's going wrong here.
Thanks in Advance.
Posts: 162
Registered: ‎10-11-2011
My Device: BlackBerry 9810
My Carrier: Rogers

Re: BrowserField2 - loading same resource multiple times

Hi There


What is the issue that you are having?  Also, can you provide some code snippets?  The BrowserField should be able to display the content if you use the methods like diplayContent().




Naveen M