O'Reilly logo

BlackBerry Hacks by Dave Mabe

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hack #92. Push Install Applications

If there is an application that you'd like all the handhelds on your BES to install, you can push it out silently over the air.

Whether you have developed a custom application [Hack #90] in-house or you'd like to make a killer application available to all your users, you can do a silent install for users over the air. This is a great way to install applications on behalf of your users, saving them what could be a confusing task for some inexperienced users. The handhelds you're pushing to will need to already be running 4.0 and your BlackBerry Enterprise Server needs to be as well.

Prepare the Application

You'll need to create a Windows share on a computer that has Desktop Manager installed. You could use your BES server, but you don't have to. Once you install Desktop Manager on your selected machine, you'll need to share the following directory (the actual share name is not important—the default works fine): C:\Program Files\Common Files\Research In Motion.

Next, create a folder called Applications in the directory C:\Program Files\Common Files\Research In Motion\Shared. Inside the Applications folder, create a directory for each application that you'd like to install, Berry 411 [Hack #51] , for example. Put the .alx and .cod files for your application inside this directory. You might need to modify the .alx file and delete any <directory> elements in the file. Once you have your application files in the appropriate directory, open a command ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required