How to open a link in the BB native browser from an application with a browser.field on OS 4.6

Hi all

I hope this is the right place for this question.

I develop a widget that works fine on OS 5, but my client requested a 4.6 devices of the OS, so the easy way for us was to make an application that calls a browser.field and load the widget inside files (make some improvements on the css and JS). It works very well.

Our problem now is that we have a list of items that contains some information like telephone numbers, address and link to a Web site. How can we open this last link on the native blackberry browser? I mean, close the application and open the browser. I need to do it in an html tag, because the link to the web site is located on the page that appears on the browser.field. (just like the tag such for example.)

I hope that I have explained to me very well and you can understand my problem.

If anyone has an idea on how to solve this problem, let me know, I'll be really happy.

In BrowserField, you are notified whenever a user requests a new resource such as browsing to a URL.  You can detect when there is a full qualified URL that is being requested, and then call the BlackBerry browser rather than provide the data flow for the return URL to BrowserField.  At this point, you may also close your application if you wish.

If the rest of your assets is local, you should probably receive a complete style from the URL for them as an external link and so be able to detect an external link.

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for