Developing for BlackBerry in 50 Easy Steps
- Sign up for the RIM developer program.
- Find the SDK download page.
- Select “Download”.
- Whoops, forgot to answer “No” to question about whether you want to receive spam from RIM (this happens on every download page).
- Download and open SDK installer.
- Installer is not built for Intel (you know, the processor that has been in all Macs for almost 5 years), so install Rosetta.
- Installer requires USB drivers, need to download and install BlackBerry Desktop Manager (which requires a restart).
- Re-run SDK installer.
- Open the BBEclipse folder on your Desktop (the default install location) and launch Eclipse.
- Whoops, there’s no BlackBerry Simulator for the Mac.
- Install VMWare Fusion.
- Install Windows XP.
- Download and install SDK.
- Develop app.
- Run app in simulator.
- Whoops, there’s no UDP support in the simulator.
- Drive down to the store and buy a phone.
- Whoops, can’t activate the phone without service books from AT&T.
- Call AT&T and find out they won’t give you the service books without a one-year contract, despite having paid full price for the phone.
- Drive back to the store and return the phone.
- Find a friend to loan you a phone, or pick one up from eBay.
- Run app on phone.
- Whoops, can’t run app without signing the app.
- Request code signing keys from RIM. Despite them being free, you are still required to enter your credit card number.
- Wait four hours for the keys to arrive.
- Install the keys via the IDE tool.
- Sign the app and try to run it on the device.
- Whoops, it says there’s no device connected.
- Download BlackBerry Desktop Manager.
- Whoops, it requires Service Pack 3.
- Install SP3.
- Check email. There are 30 new emails from RIM notifying you that you signed your app. Despite it being one app, you must sign each of the 10 debug files with three different keys.
- Install BlackBerry Desktop Manager.
- Try to debug app again.
- Whoops, Eclipse still says there’s no device connected.
- Since your app gets signed each time you try to install it on the device, you just got another 30 emails.
- Google for a way to disable the emails.
- Find out you can’t. It’s a security feature meant to alert you that someone is signing apps with your keys.
- Set up Gmail filter to delete those messages.
- Settle for at least trying to get your app to run on the device, even if you can’t debug it.
- Try to install app using the Desktop Manager.
- In order to install the app, you need to install an OS update that can’t be disabled.
- In the process of installing the update, the BlackBerry restarts, breaking something with VMware Fusion. The device works, but the Desktop Manager doesn’t recognize that the update was run.
- Try 40-42 few more times.
- Realize that the reason you went to Windows was to use the simulator.
- Try to install app using Desktop Manager for Mac.
- Find out that in the process of installing the app, the Desktop Manager verifies the checksum of all existing apps, and that for some reason some apps are failing.
- Try an OS restore.
- OS restore worked, and now the app does install.
- Yay! We have the app running on the device!
If you’ve made it this far, here’s a sneak preview of the process for actually debugging an app…
- Open Eclipse on the Mac.
- Debug the app.
- Whoops, the signing keys aren’t installed.
- Install signing keys.
- Whoops, no more registrations left for the keys.
- Request new keys from RIM (yes, enter your credit card number again).
- Wait for keys…