09-25-2007, 08:51 AM
Thumbs Must Hurt
Join Date: Aug 2005
Post Thanks: 0
Thanked 0 Times in 0 Posts
Unfortunately, the most you can automate is launching the browser pointed at your jad file, but the user will still be prompted to begin the download or cancel. Because of the security of the BB, applications are not allowed to be downloaded without the user's knowledge.
You can post a simple XML file with your application's current version info and your app can automatically check this file to determine if there is an update available, but that's as far as you'll be able to take it.
I use an XML file that has the current version, date the version was made available, urgency of the upgrade (ie, normal, critical, immediate), and the url where the upgrade can be downloaded from. The urgency allows me to determine if the user is allowed to continue running the old version, or how long before they must do the upgrade.
I currently have approx. 1100 users scattered across the US, and this has worked great when I need to update my app.