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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Contributor
Posts: 18
Registered: ‎08-31-2012
My Device: n/a
My Carrier: n/a

BrowserField "Error displaying content for: local:///index.html. error message. failed to create renderer."

[ Edited ]

When i run my BrowserField App the first time on a Simulator, an Error occurs:

 

"Error displaying content for: local:///index.html. error message. failed to create renderer."

 

When I close the app und open it again it works fine, but it loads quite slowly. what's wrong?

 

 

-

here's my code:

 

package mypackage;

import net.rim.device.api.ui.container.*;
import net.rim.device.api.browser.field2.*;
import net.rim.device.api.ui.*;

class MyBrowserField2Sample extends UiApplication
{    
    private MainScreen _screen;
    private BrowserField _bf2;
        
    MyBrowserField2Sample()  
    {        
        _bf2 = new BrowserField();

        _screen = new MainScreen();
            _screen.add(_bf2);
        pushScreen(_screen);

        _bf2.requestContent("local:///index.html");
    }

    public static void main(String[] args)
    {
        MyBrowserField2Sample app = new MyBrowserField2Sample();        
        app.enterEventDispatcher();        
    }
}

--

Screen:

package mypackage;

import net.rim.device.api.ui.container.MainScreen;

/**
 * A class extending the MainScreen class, which provides default standard
 * behavior for BlackBerry GUI applications.
 */
public final class MyScreen extends MainScreen
{
    /**
     * Creates a new MyScreen object
     */
    public MyScreen()
    {        
        // Set the displayed title of the screen       
        setTitle("Wissen Aktuell");
    }
}

 

thanx,

nine

yq
New Member
Posts: 2
Registered: ‎10-30-2012
My Device: 9900
My Carrier: rogers

Re: BrowserField "Error displaying content for: local:///index.html. error message. failed to create renderer."

Do you find a solution about this one? I run into same error.

Highlighted
Contributor
Posts: 18
Registered: ‎08-31-2012
My Device: n/a
My Carrier: n/a

Re: BrowserField "Error displaying content for: local:///index.html. error message. failed to create renderer."

No solution. i just believe it's a simulator error/ the simulator is too slow. sorry.

Developer
Posts: 80
Registered: ‎09-03-2012
My Device: 9810
My Carrier: Vodafone

Re: BrowserField "Error displaying content for: local:///index.html. error message. failed to create renderer."

Yes I think its a simulator error

 

Before all first you need to run your MDS

If MDS is not running , then there is a problem in simulator(mainly in simulator with version 7.0)

 

To correct just copy MDS folder from your simulator directory for 6.0 and replace the MDS folder in simulator(7.0)

 

http://stackoverflow.com/questions/9364310/blackberry-webview-can-not-connect-to-internet-and-or-dis...

 

http://supportforums.blackberry.com/t5/Java-Development/MDS-not-working-on-OS-7-0-simulator-9930/td-...

 

 

Always Success