06-20-2012 02:24 AM
I need your help in doing some R&D work.
I am trying to insall or uninstall a cod file without user interaction, is this possible to install or unisnatll a cod file without user interaction.
Please help me ...
Solved! Go to Solution.
06-20-2012 03:17 AM
The short answer is no.
The best situation you can get is if you have an application on the BlackBerry that acts as an installer and knows where (on the web presumably) the programs it wants to load are. It could then download and install them, though the user would still gets the prompts to restart and for permissions when the applications first runs.
But the user would have had to install the loading program first.
What are you trying to achieve here?
06-20-2012 03:31 AM
Hi peter thanks for your reply .
. but can use CodeModuleManager for creating a new module and save it.
I have downloaded cod file form Sd card created a module.
int handle1 = CodeModuleManager.createNewModule(data.length, data, data.length);
and its works...
06-20-2012 04:33 AM
That is correct and that is how you could install a module once you have your 'installer' application in place. So you can pick up your cods from the internet or from the SD Card. The question is, how do you get this 'installer' code on to your BlackBerry in the first place.
06-20-2012 05:31 AM
ok yes ..in our case we have a installer application in blackberry device .
but now my problem is ...how to notify my device(installer app) that download the new cod from XYZ location. Provided that i do not have BES infrastructure. I am going through the push API notification but not found anyhting fruitful yet.
06-20-2012 06:37 AM
I thought PUSH would do it.
Alternatively, just poll. Say have a known place that lists all the cods that should be on the device and where they are to download if not. Check this once a day, would not be too bad.