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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Contributor
salmankhan7788
Posts: 24
Registered: ‎02-26-2013
My Carrier: Airtel

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

 

 

Please use plain text.
Developer
peter_strange
Posts: 17,952
Registered: ‎07-14-2008

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. 

Please use plain text.
Contributor
salmankhan7788
Posts: 24
Registered: ‎02-26-2013
My Carrier: Airtel

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.

 

Please use plain text.
Developer
peter_strange
Posts: 17,952
Registered: ‎07-14-2008

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. 

Please use plain text.