Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Regular Contributor
salmankhan7788
Posts: 52
Registered: ‎02-26-2013
My Device: Curve 9650,Bold 9900

Silent upgradation

Hello

 I have a requirement to upgrade my app silently , without user interaction.

 i mean if a new version is available for installed app then app is automatilcally upgrade itself without any user interaction, no need to do any mannual setting for this upgradation by user.

 If it is possible then kindly provide me a valuable help...!

 

 

Thanks is advance...!

 

 

Developer
peter_strange
Posts: 19,610
Registered: ‎07-14-2008
My Device: Not Specified

Re: Silent upgradation

Does this help?

http://supportforums.blackberry.com/t5/Java-Development/Programmatically-install-and-upgrade-applica...

 

Other peple have asked similar questions - search the forum for more. 

Regular Contributor
salmankhan7788
Posts: 52
Registered: ‎02-26-2013
My Device: Curve 9650,Bold 9900

Re: Silent upgradation

Thanks peter

 but i already used this effort, this code only shows whis app has updates and show a red small icon on app icon, it means that this app has updates and u need to mannualy updates this app.

 but my requirement is that  an app search for updates and if it is available then install or upgrade it automatically without waiting for user responce.

 

Developer
peter_strange
Posts: 19,610
Registered: ‎07-14-2008
My Device: Not Specified

Re: Silent upgradation

I wonder if you were looking at a different sample. 

 

Look at the Installer.java method doInstall(..) in the sample.  I think it does what you want.