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
Highlighted
Visitor
Posts: 1
Registered: ‎11-30-2012
My Device: Blackberry 8300
My Carrier: Hacom

Re: How to display a hyperlink?

usa esto:

 

VerticalFieldManager v = new VerticalFieldManager(VerticalFieldManager.FOCUSABLE);
v.add(new HyperlinkField("www.hacom.com.pe", "http://www.hacom.com.pe/"){

protected boolean navigationClick( int status, int time )
{
Browser.getDefaultSession().displayPage("http://www.hacom.com.pe/");
return true;
}
});
this.add(v)

 

Eso abre el ink cuando hagas clic, sin necesidad de abrir el menu contextual