March 13, 2010
Developing for Blackberry on the Mac
After attempting to develop for Blackberry on the Mac in several ways I have finally come across a way that works. Here is how you can get this to work.
- Download and install VirtualBox version 3.1.4 or greater. The earlier versions do not work with the blackberry simulator.
- Install WinXP in VirtualBox. This worked for me. I have not tried Win7 yet but will in the near future.
- From within your Win installation download and install the blackberry JDE 5.0 not earlier versions. Make sure you get the JDE not the eclipse plugin.
At this point you can use the JDE to develop, compile, and run in the blackberry simulator from within your Win installation.
There is another option. I am compiling and creating the .cod Blackberry application file inside of Xcode. I will soon be releasing a version of QuickConnect that has a Blackberry template based on what I am doing now. At that point we should be able to create one application and run it on the iPhone, Android, Blackberry, and Palm WebOS. In fact there will be one QuickConnect template that will build for all of these platforms in addition to templates for each individual platform.
After I compile the application and generate the .cod file in Xcode I then place the .cod file in a VirtualBox shared directory. I can then launch the simulator directly by running the .bat file for the 9559 simulator called 9550.bat. It is found in the Simulator directory of the JDE 5.0 installation directory.
With the simulator running I select file->Load Java Program and pick the .cod file from the shared directory. Using the Blackberry simulator I then run the application.