Blackberry Install background service from UI appl

2019-09-04 16:49发布

Hi i need to create an uninstallable background service that would run from application, if the user is registered otherwise wait until it will receive my condition to get installed?

1 ) how to create an uninstallable background service?

2 ) how to install it by user registered condition?

I would really appreciate the help!

Thanks in advance.

1条回答
相关推荐>>
2楼-- · 2019-09-04 17:13

Note that any, even system .cod file, can be uninstalled via javaloader.exe utility that comes with JDE distribution package. Or via any application that utilizes relevant RIM SDK API calls. So there is no way to make a real uninstallable package.

It is possible to create a new cod file on the device using API calls.

Take a look at CodeModuleManager class. It is possible to download the service cod file to byte array and invoke CreateNewModule method to make new cod file based on this byte array.

查看更多
登录 后发表回答