Blackberry Install background service from UI application?

一个人想着一个人 提交于 2019-12-12 04:43:43

问题


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:


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.



来源:https://stackoverflow.com/questions/6723045/blackberry-install-background-service-from-ui-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!