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
Contributor
Posts: 34
Registered: ‎03-14-2010
My Device: N/A

Browser Integration Question

[ Edited ]

Hello,

 

I am creating an application that will process certain types of links when they are clicked in the  BlackBerry Web Browser.  For example, say I want to create an application that streams a certain video format.

 

I just found this document but I'm not sure if it will pass it to my application before or after it has been downloaded?  I would much prefer that my application receive the URL of the link immediately, rather than download it first.

 

Any advice or suggestions are appreciated.

BlackBerry Development Advisor
Posts: 15,021
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Browser Integration Question

A Content Handler will likely be the best approach.

 

If the URLs you want to capture are from a specific domain you could make use of an HttpFilter.  Have a look at the httpfilterdemo included with the BlackBerry Java SDK or BlackBerry JDE for an example.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker