06-23-2011 04:00 AM
Just wondering whether it is possible for a BlackBerry application to be able to update or delete itself, without, if possible, giving any error/precautionary messages. It is possible to do so in J2Me using special extensions from specific vendors, but not so in generic j2me. In that case, the j2me application makes a call to some native API, requesting to update/deleting itself, and then exiting itself for the native OS to do the needful. Is such a solution, or something similar, available for BlackBerry applications? Across the OS versions?
Basilio J V D'souza
Solved! Go to Solution.
06-27-2011 10:55 AM
An application can't update itself, but you can programmatically update another third party application.
Programmatically install and upgrade applications
07-06-2011 12:50 PM
02-17-2012 04:45 AM
I saw ur post stating " An application cannot upgrade itself".
Is this functionality now available in BB OS 5.0 or 6.0.
I have a requirement to update my application when its new version is available. I tried the sample code but it upgrades other third party applications n not the one in which I have all this code of upgrading. I was wondering if RIM has provided us the functionality to upgrade an app itself now?????
Please reply ASAP.
02-17-2012 05:28 AM
If you think about it you will see that the functionality has 'always' been there.
Your Application A detects that a new version is available, and starts your Application B before terminating.
Your Application B then performs the upgrade of your application A, then re-starts the upgraded application A before terminating. Job Done.