简体   繁体   English

使用自定义网址方案在黑莓10中打开一个移植的Android应用

[英]Open a ported Android app in blackberry 10 using a custom url scheme

I'm using 我正在使用

        <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>

to launch myApp when a user click on a myapp://bla url, this is working fine in Android but not when I port my app to BlackBerry (everything else seems to be working fine). 当用户单击myapp:// bla url来启动myApp时,这在Android中工作正常,但是当我将应用程序移植到BlackBerry时却无法工作(其他一切似乎都工作正常)。

Any advice? 有什么建议吗?

I believe the Launcher intents are not supported after the Android port to BlackBerry10: 我相信在将Android端口连接至BlackBerry10后,不支持Launcher意图:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM