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.
04-18-2012 12:42 PM
I have a WebWorks app that I would like to launch from a browser URL, and pass URL query parameters to the app that way. Can this be done? How? I would be happy to use HttpFilterRegistry or the Invoke API, but I don't see how to use those approaches to obtain the parameters from within my WebWorks app, even if I write a custom extension. Sample code would be very helpful, especially for consuming the parameters. Or at least an indication of which API(s) can do this.
Solved! Go to Solution.
04-18-2012 04:10 PM
This should be taken care of by the framework. What I would recoemmend is simply invoking the application as per normal and placing the parameters in the URL with the standard "&" "?" notation.
Then leverage the UTIL JS class to pull out the required passed parameters...
(If you need help invoking the app, it is done like invoking any other java app on the device)
04-18-2012 04:50 PM
Thanks! I think that's enough to get me started implementing the consumption side. Could you point me to anything about launching a Java app from a URL? Perhaps I need to use HttpFilterRegistry.registerFilter()? Not sure how/where to do that in WebWorks.
04-19-2012 05:39 PM
Ok, thanks! Hopefully that's easy from WebWorks. =) I guess I have to write an extension and include the HttpFilterRegistry.registerFilter() call and Protocol.java implementation there.
07-18-2012 02:19 AM
08-22-2012 11:05 AM
I'm facing the same problem. Registering a custom uri scheme for the PlayBook on the Adobe Air platform is really easy. Is there a solution yet for this problem?
Thank you in advance!