从黑莓用户界面应用程序安装后台服务? [英] Blackberry Install background service from UI application?

查看:366
本文介绍了从黑莓用户界面应用程序安装后台服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创造条件,从应用程序运行卸载的后台服务,如果用户注册,否则等到它会收到我的病情得到安装?

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)如何创​​建卸载的后台服务?

1 ) how to create an uninstallable background service?

2)如何通过用户注册条件安装?

2 ) how to install it by user registered condition?

我真的AP preciate的帮助!

I would really appreciate the help!

先谢谢了。

推荐答案

请注意,任何,甚至系统.cod文件,可以通过自带的JDE分发包javaloader.exe程序进行卸载。或者通过利用相关RIM SDK API调用的应用程序。因此,有没有办法让一个真正卸载的包。

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.

有可能使用API​​调用来在设备上创建一个新的COD文件。

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

看看 codeModuleManager 类。它可以下载服务鳕鱼文件字节数组,并调用
<一href=\"http://www.blackberry.com/developers/docs/4.1api/net/rim/device/api/system/$c$cModuleManager.html#createNewModule%28int,%20byte%5b%5d,%20int%29\"相对=nofollow> CreateNewModule 方法,使基于此字节数组新的COD文件。

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.

这篇关于从黑莓用户界面应用程序安装后台服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆