Launching Blackberry Application via a Custom URL Scheme

后端 未结 1 1786
-上瘾入骨i
-上瘾入骨i 2021-01-16 13:45

I\'m working on RIM HttpFilterRegistry part. Can anyone explain on how to embed (protocol & packageManager class) in a native app with an UI entry point.

Require

1条回答
  •  有刺的猬
    2021-01-16 14:45

    You don't implement the HttpFilterRegistry class yourself, you use the one that RIM provides. Just call HttpFilterRegistry.registerFilter() like any other API call. What you do have to implement yourself is a java package that includes a class named Protocol. You then pass the package name to registerFilter(), and the browser will then access your Protocol class when the registered domain is invoked.

    0 讨论(0)
提交回复
热议问题