12-03-2008 12:19 PM
I am still relatively new to this so please forgive any faux pas.
I am developing an application that essentially needs to use the browser as its UI. I want to capture all the requests from the browser for content and service them myself in the application.
Is browser.field the only way to do this? I would prefer using generic API as much as possible.
I have built the BrowserFieldSampleApplication from JDE 4.2.1 with Netbeans but I can't get it to work. I copy the cod file to the device but it doesn't appear anywhere. I have the same problem with the simulator.
Any help greatly appreciated.
Solved! Go to Solution.
12-04-2008 11:03 AM
I got the sample application to compile and run, but it just shows a blank screen. The default page www.google.com does not appear to load and display.
What am I supposed to see?
12-04-2008 11:08 AM
Have you also started the MDS Simulator? It is required in order to use the BlackBerry Browser or a browserfield within the BlackBerry Simulator.
12-04-2008 01:24 PM
I am running the application on an actual device. All I see is a white screen. The only menu option I have is close.
Anil S.
12-04-2008 05:14 PM
The sample application is getting an exception from Connector.open(url).
I am on the Rogers network trying this on a 8700 with 4.2.1.107 OS.
12-05-2008 04:36 PM
12-22-2008 10:39 AM
I gave up trying to get this working as I was not actually interested in using an HTTPConnection.
Thanks for your help anyway.
02-09-2009 11:53 AM
Hi Mark,
If I were to use BrowserField in my application, does it mean that the user of my application MUST be connected to a BES in order to see the content in the browser?
I have embeded a BrowserField in my application, when runs it on the simulator with MDS running, everything is fine.
When I loade this app onto a device, with network connection but not connected to a BES, it fails to render the webpage.
Is it possible to set the embeded BrowserField so that it connects via the InternetBrowser instead of the BlackBerry Browser?
Thanks!
02-10-2009 10:11 AM
It is recommended to use a browser field with a BlackBerry Enterprise Server. However, if you want to use a specific browser you can invoke it to your URL using the sample below.
How to - Invoke the browser
Article Number: DB-00701