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
Trusted Contributor
kris0725pl
Posts: 115
Registered: ‎03-24-2011
My Device: 8310 curve
My Carrier: PLAY

BrowserField error 404 displaying page

[ Edited ]

I have questions.

 

How to display this page in BrowserField in application:

 

http://77.74.192.50:8000/played.html

 

I have error 404...Why?

 

On PC(Firefox) works ok.

 

This is in application BlackBerry error:

 

And this is loaded from BlackBerry Browser on BB 9000

I swith user agent to Firefox in options:

 

I used this code:

 

BrowserFieldConfig config = new BrowserFieldConfig();

config.setProperty(BrowserFieldConfig.NAVIGATION_MODE, BrowserFieldConfig.NAVIGATION_MODE_NONE);
BrowserField Bf = new BrowserField(config);
Bf.requestContent("http://77.74.192.50:8000/played.html");

add(Bf);

 

 
 
Please use plain text.