我想知道我是否可以在 BB OS (4 - 7) 中开发具有与 Android/iOs 类似功能的应用程序 where ;
- 我将能够注册该应用程序以侦听特定的 URL。
- 我可以通过 URL 启动应用程序。
- 我可以从 URL 解析数据并在应用程序中使用。
例如在 Android 中,我可以像这样使用 Intent Filters
<intent-filter>
<action android:name="android.intent.action.VIEW"></action>
<category android:name="android.intent.category.DEFAULT"></category>
<category android:name="android.intent.category.BROWSABLE"></category>
<data android:scheme="http"
android:host="myapp.com"
android:pathPrefix="/launchapp/" />
</intent-filter>
在加载 url 时启动应用程序,例如
然后我可以在 launchapp/ 之后解析这两个数字并在应用程序中使用它们。
任何有 BB OS 经验的人都知道这是否可能?