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.
01-27-2013 01:54 PM
Is there any posibility to redirect from webbrowser to application written in Casacedes as it is in android?
In android I can register intent-filer in activity
<intent-filter > <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="myapp" /> </intent-filter>
and application can be run from webbrowser.
In BlackBerry I try the same using Invocation framework.
e> <invoke-target-name>MyApp</invoke-target-name> <icon> <image>icon.png</image> </icon> </invoke-target>
<invoke-target id="myapp"> <invoke-target-type>application</invoke-target-typ
e> <invoke-target-name>MyApp</invoke-target-name> <icon> <image>icon.png</image> </icon> <filter> <action>bb.action.VIEW</action> <action>bb.action.OPEN</action> <mime-type>*</mime-type> <property var="uris" value="myapp:"/> </filter> </invoke-target>
and this is not working.
If anyone has any ideas?
01-28-2013 02:31 PM
May you have a try to change the id to a unique id and keep the format as "xxx.xxx.xxx"?
You also need to implement a code for queryTargets
01-28-2013 04:40 PM
I tried with "xxx.xxx.xxx" format
I have somethink like that:
bb::system::InvokeManager invokeManager; QObject::connect(&invokeManager, SIGNAL(invoked(const bb::system::InvokeRequest&)), &app, SLOT(onInvoke(const bb::system::InvokeRequest&)));
02-01-2013 11:55 AM
There are two things involved here.
1. Being able to invoke your app based on a custom URI. This is possible via the invocation framework.
2. The browser must make your custom uri a hyperlink. This requires that the String Pattern service of BB10 recognize your uri pattern and hyperlink it. Unfortunately it is not possible for 3rd party apps to register string patterns in the system today but we are definitely looking in to it.
So the short answer is, what you are trying to accomplish is not possible today.
The closest you can get is have the user download a file with a custom extension that your app supports and once downloaded, the user can open that file and have your app invoked.