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
Highlighted
Forums Advisor I
Posts: 501
Registered: ‎03-01-2013
My Device: BlackBerry Z10
Accepted Solution

Open a link in new screen rather than in browser

Hi,

I want to develop an application that opens a link in application rather than in browser.

 

Can any1 help me??

 

Thanks in advance

Developer
Posts: 68
Registered: ‎11-24-2010
My Device: Not Specified

Re: Open a link in new screen rather than in browser

You can do it using BrowserField in blackberry.

Forums Advisor I
Posts: 501
Registered: ‎03-01-2013
My Device: BlackBerry Z10

Re: Open a link in new screen rather than in browser

Thanks for ur reply

Can u show me the sample??

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Open a link in new screen rather than in browser

If you use the search box you might find the answer to your question without having to wait for someone to help you.  And you might find some other interesting information. 

 

In this case, typing BrowserField in the Search box will find a number of samples for you, including this one:

http://supportforums.blackberry.com/t5/Java-Development/BrowserField-Sample-Code-Create-your-first-B... 

Forums Advisor I
Posts: 501
Registered: ‎03-01-2013
My Device: BlackBerry Z10

Re: Open a link in new screen rather than in browser

Hi Peter,

Thanks for your advise.Actually i used this code before and ran it on simulator so its showing some error.

I also have google it bt still not found the answer.

But when i ran it on device its workin.

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Open a link in new screen rather than in browser

"its showing some error"

When testing in a SImulator, make sure you have the MDS Simulator running - test the same URL on the Browser to confirm. 

 

"I also have google it bt still not found the answer."

I think you might need to talk to Google about that.  On my system I just used the following keywords in a Google search

blackberry browserfield sample code

and found the same sample I already pointed you at. 

Forums Advisor I
Posts: 501
Registered: ‎03-01-2013
My Device: BlackBerry Z10

Re: Open a link in new screen rather than in browser

Thanks to your google than..Smiley Tongue