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
-
How to open a link in the browser when clicking on Image?
I created a clickable image. Now, I want to open a link in the browser when clicking on Image.
How to get there?
Call Browser.getDefaultSession () .displayPage (String url)
-
How to open a link in the browser of the phone
I tried to find out how to open links in the browser of the phone, but I'm getting a few surprising opion (StackOverflow) :
It is not the answer, when you want to continue using PhoneGap Build, but I solved the problem by creating a development environment for Cordova (PhoneGap) on my machine and compile the application locally. In Cordoba 2.5.0
window.open('http://www.myurl.nl', '_system');
works perfectly, it will open the link in the system browser.So my advice is to stop using PhoneGap Build and start compiling your application locally.
I don't know if there is already a good solution that works for all platforms and if I use the Phonegap also supported well build service.
You ask the Forum of phonegap, but it seems a matter of generation phonegap, the phonegap right build forum is https://forums.adobe.com/community/phonegap/build
This response seems old, you must use cordova-plugin-inappbrowser to open external links in the browser of the phone
Install it by adding this line in the config.xml file
and open the phone's browser with
cordova.InAppBrowser.open('http://www.myurl.nl',
'_system');
, -
MacBook Pro
2.33 GHz
4 GB
Mac OS X 10.6.8You use "bookmarks > show all bookmarks" to open the Manager of bookmarks (library)?
-
When I try to open a torrent using magnet, I get the following message. Firefox doesn't know how to open this address because the Protocol (loving) is not binding to any program.
I had this problem and just reinstalled Firefox. Problem solved. In my case, I believe that it is through the installation of FlashGet. Although I uninstalled FlashGet, it had outstripped the Magnet links / Protocol. I hope this helps you with your instance. Fortunately, I had Setup for my version of Firefox (7.0.1) registered and used that but you might need to search for your current version or install a later version
-
Creation of an intranet to a collection of security videos and am linking to a video through a picture icon in the form of:
< a href = "K: \'link to the movie" > ""
< /a >Overview on the works of IE9, the movie starts when the splash screen is clicked, but in Firefox, I get the alert "Firefox doesn't know how to open this address, because the Protocol (k) is not associated with any program."
InterLan VLC is the video player by default on the PC. I don't want to put video controls anywhere in the page.
I code for XHTML 1.1 strict with CSS 2.1, and Firefox 5 handles all of my eccentric styles while IE9 has a few issues, while Firefox is my browser of choice.
Looking at my Options in Firefox, 'File Windows Media audio/video' is configured to use VLC.exe, so I'm always looking to solve this problem.
Any Suggestions?
You must use the Protocol file:// (file:///k:/link_to_movie).
Easier to see the links to use are to open a file via file > open a file -
How can I remove links to the latest features of the homepage of FF
How can I remove links to the latest features of the homepage of FF. See screenshot. I want deleted url.
Sorry screenshot has not shown the first time
-
I can't open a link in the email.
Thunterbird worked Ok for a year. A few days ago that I can't open any links in the e-mail to start. It comes in all the email with a link to friends or commercials.
https://support.Mozilla.org/en-us/KB/hyperlinks-in-messages-not-working
-
How to create a link on the web to use in an e-mail?
I don't know how to create a link on the web that I can put in the e-mail addresses. Could you help me please? I know it must be very simple, because thousands of others do regularly. Thank you.
Katy Anderson
You can use file-> Send link or copy the web address of the address bar and paste it into an email.
You are using an older version of Firefox (3.0.7) - you need to update as soon as possible
-
I have updated and now when I try to log on to Web sites with fingerprint reader, I get "Firefox doesn't know how to open this address, because the Protocol (dpql) is not associated with any program."
What is the Digital Persona fingerprint scanner? If it's that they have abandoned, for more details, see https://support.mozilla.com/en-US/questions/799388
-
I bought a song to download from Wal - Mart.com and received the error message when I tried to download the song. "Firefox doesn't know how to open this address, because the Protocol (wmms) is not associated with any program." I've never had a problem before. I paid for this download & even I can't access it.
The site of Wal-Mart offer a plugin or program (Walmart MP3 music downloads) to manage this Protocol?
See:
On a protocol must be enrolled in a program for Windows that supports this Protocol.
-
I keep seeing pop up ads powered by '' cn tatami '' whenever I have to navigate using Safari or open a link on the FB Adblocker app does not work for this. Any suggestions? There is no option to cross the pop-up ad that it redirects to various Web sites.
Cache and history of the site Clear settings - Safari -.
(1232)
-
Open a link in the new screen rather than in the browser
Hello
I want to develop an application that opens a link in the application, rather than in the browser.
Any1 can help me?
Thanks in advance
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, type BrowserField in the search box will find a number of samples for you, including this one:
-
How to open a document in the way?
I'm sorry, I'm a new Member of the INDD sdk, so I no Understand indd SDK struct.
I have some questions, Please help:
How to open a document in the way?
How browes all the objects in the document?
How to configure a TextFrame character fontname?
Thank you all.
1. you can use SDKLayoutHelper::OpenDocument method to open a document.
2 see SnpInspectLayoutModel for code related to inspect the document.
for example, ReportDocumentByHierarchy, ReportDocumentByDocumentLayer, etc.
See SnippetRunner example of plugin in the SDK.
You will get most of the things here.
-
How to open two PDFs at the same time (for example on two related screens)? It was always possible in the previous version of the Adobe Reader software. Now while one of them is open, I can't open the other, because it is hidden, and I have only shown in the taskbar as a thumbnail.
Hi ewap51098943,
You can disable this in the Edit menu-> preferences-> General
Kind regards
Nicos
Maybe you are looking for
-
What is the last program in Safari
Telstra change their e-mail program and suggested that the minimum programme of Safari is greater than 10.0, please tell us the latest version of Safari. I thought it was Colin 9.2
-
Error Message Error Code "ThotKey" has no start
Hello my laptop gives me this error message at the beginning: Failed to retrieve the "ThotKey. Error code: 0 x 00031402, 0x00000002 and with it, I can't use shortcut keys. Can you guys help me, please?
-
I just plugged my new keyboard magic and it doesn't seem to be a battery level indicator in the system preference/keyboard. There is on the Magic mouse, but not on the keyboard. Any ideas? El Capitan V 10.11.2
-
BlackBerry Smartphones setting remove as default option when deleting e-mail
When I want to delete an e-mail I hit the ball and the list pending comes from high-response, response with impatience, to all, open attachment, Delete. It is default for the response... is it possible to change therefore default to delete?
-
The Nickelodeon Sponge Bob maze approx. print HELP!
This labyrinth can be completed, my 6 year old daughter is a little frustrated - I do not see a solution! Someone at - he managed to complete it?