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
Trusted Contributor
user17
Posts: 145
Registered: ‎01-23-2012
My Device: 9300

Launch BlackBerry app via URL with parameters

Hi All,

 

           Is it possible to open an app from the device through browser. If it possible how  we can implemented in blckberry.

 

 

 

 

 

 

Thanks in Advance

Developer
kamal_nigam
Posts: 434
Registered: ‎07-23-2012
My Device: Blackberry 10

Re: Launch BlackBerry app via URL with parameters

We can open from the browser field. From the native browser I think no. 

Thanks
-------------------------------------------------------------------------------------
Press the Accept as solution Button when u got the Solution
Press Kudo to say thank to developer.
-------------------------------------------------------------------------------------.
Developer
simon_hain
Posts: 16,282
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: Launch BlackBerry app via URL with parameters

http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/io/http/HttpFilterRegistry.htm... can be used to launch applications via URL.
check the httpfilterdemo
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
peter_strange
Posts: 19,610
Registered: ‎07-14-2008
My Device: Not Specified

Re: Launch BlackBerry app via URL with parameters

[ Edited ]

I believe there are two ways that you can do this but have never attempted this myself:

 

a) Using the HTTPFilter

basically this matches an application to the domain of the URL request and can start that application

 

b) Using the Content Handler API - this will then process the URL

 

If you search the forum you will find out more about both of these.

 

There is potentially a third option that I have used, that is the PatternRepository.  But this API is only available when the text is being displayed using an Active EditField, so it will work in an ordinary email, but not in the Browser or an html email. 

 

Edit:  Opps I see SImon was faster on the keyboard....