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.
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.