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

Android™ Development


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.


Reply
New Contributor
Posts: 5
Registered: ‎04-27-2013
My Device: BlackBerry z10
My Carrier: Verizon

Launching Application Using a Custom URL Scheme

I've just set up Android Developer Tools to package my existing Android app for BlackBerry. My existing app uses Android's Intent Filter to handle my custom URL scheme, and open the app from the link in the web browser. This works as expected on Android, but BlackBerry says "unable to open..." when I click on that link. Is this feature not supported in the Android runtime, or is there some specific way to do this? I'm aware of the HttpFilterRegistry with native Blackberry apps, but I want to avoid having to rewrite my app.

HttpFilterRegistry

Highlighted
New Contributor
Posts: 5
Registered: ‎04-27-2013
My Device: BlackBerry z10
My Carrier: Verizon

Re: Launching Application Using a Custom URL Scheme

If BlackBerry doesn't support Android's Intent Filter, is there a way to use the HttpFilterRegistry with an Android app?

New Contributor
Posts: 5
Registered: ‎04-27-2013
My Device: BlackBerry z10
My Carrier: Verizon

Re: Launching Application Using a Custom URL Scheme

Any feedback/direction from BlackBerry would be appreciated.

New Contributor
Posts: 5
Registered: ‎04-27-2013
My Device: BlackBerry z10
My Carrier: Verizon

Re: Launching Application Using a Custom URL Scheme

I'm running out of time and I may have to forego building a BlackBerry app. Does anyone have any insight into this?

New Developer
Posts: 2
Registered: ‎05-08-2013
My Device: n/a
My Carrier: Bell Canada

Re: Launching Application Using a Custom URL Scheme

I'm having the exact same issue. I'm wondering if "just repackage your Android app" was a bit of a sales pitch.

 

Hoping BB support will have a solution!

 

Thanks,

-Nico

New Contributor
Posts: 5
Registered: ‎04-27-2013
My Device: BlackBerry z10
My Carrier: Verizon

Re: Launching Application Using a Custom URL Scheme

It's not clear, but this seems to indicate that it isn't supported:

 

https://developer.blackberry.com/android/apisupport/unsupportedapi_blackberry10_app_types.html

 

In particular this line: "Apps that include more than one launchable Activity".

New Contributor
Posts: 3
Registered: ‎02-23-2010
My Device: Many
My Carrier: Vodafone

Re: Launching Application Using a Custom URL Scheme

Run into the same issue. Really a big pity that this is not supported...

 

See

 

Android applications cannot provide system-wide services to the rest of the device. E.g:

    Dialing services (handling android.intent.action.ACTION_DIAL)
    Viewing capabilities (system-wide handing of android.intent.action.ACTION_VIEW)
    Data sharing capabilities (android.intent.action.ACTION_SEND)

https://developer.blackberry.com/android/apisupport/unsupportedapi_blackberry10_intents.html

Retired
Posts: 140
Registered: ‎04-19-2013
My Device: BlackBerry Z10

Re: Launching Application Using a Custom URL Scheme

At the moment, Android applications cannot be invoked from a "native" application.

 

It's a tricky problem that's solved quite easily in real Android (it's just Intents) but here it's different because now we're talking cross runtime, or essentially two different platforms.