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™ Runtime Development

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

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

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

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
ngagne
Posts: 5
Registered: ‎04-27-2013
My Device: BlackBerry z10

Re: Launching Application Using a Custom URL Scheme

Any feedback/direction from BlackBerry would be appreciated.

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

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 Member
ntewinkel
Posts: 1
Registered: ‎05-08-2013
My Device: n/a

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
ngagne
Posts: 5
Registered: ‎04-27-2013
My Device: BlackBerry z10

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
nogago
Posts: 3
Registered: ‎02-23-2010
My Device: Many

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

BlackBerry Development Advisor
bbenninger
Posts: 130
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.