topics
mobile
data mining
web
data visualization
distributed computing
blackberry, iphone, android
sentiment analysis, string matching
social networking, google app engine
processing
hadoop, aster data
notes blackberry storm in eclipse
Walkthrough showing how to setup the Eclipse IDE to develop for the BlackBerry Storm (9530).

OUTLINE
  1. Download J2SE
  2. Download Eclipse
  3. Download Complete Eclipse Software Update
  4. Install Eclipse BlackBerry Plugin
  5. Create BlackBerry Project
  6. Run Simulator
DOWNLOAD J2SE
If you do not have a JRE installed, you'll need to install this first. Eclipse requires Java 5.0 or higher, but it's recommended that you use the latest release. Download Java SE Runtime Environment (JRE).

DOWNLOAD ECLIPSE
RIM provides a toy IDE that is not sufficient for real development. Eclipse is an industry standard for Java development, and it's what you should use if you want to develop for the BlackBerry Storm. If you don't have Eclipse installed, download Eclipse IDE for Java Developers.

DOWNLOAD COMPLETE ECLIPSE SOFTWARE UPDATE
Once you have Eclipse up and running, you need to download the BlackBerry Complete Eclipse Software Update. This package contains simulators for many of the BlackBerry devices, including the BlackBerry Storm, which is also referred to as the 9530.

INSTALL ECLIPSE BLACKBERRY PLUGIN
Once you've downloaded the BlackBerry Plugin for Eclipse, you need to install it in Eclipse. Follow these instructions to do so.

CREATE BLACKBERRY PROJECT
Once you've installed the plugin in Eclipse, you should create a BlackBerry project. To do this, find the Package Explorer in Eclipse. Right click in a blank area of the Package Explorer, and select New > Other (or press Ctrl-N). You should now see a BlackBerry folder in the "Select a Wizard" dialog box. Expand the BlackBerry folder, and select "BlackBerry Project". Give your project a name, and click Finish.

RUN SIMULATOR
The final step in configuring our project in Eclipse, is to specify that you wish to use the Storm simulator, which is titled 9530-JDE. Before we do this, we need to configure our BlackBerry workspace.
  1. In the Eclipse IDE, find the BlackBerry menu at the top of the window
  2. Select "Configure BlackBerry Workspace". A Preferences dialog will appear.
  3. Under the BlackBerry JDE, select Installed Components
  4. In the Components box on the right, select BlackBerry JDE Component Package 4.7.0
  5. Click OK to save your changes
This is the component package that contains the Storm 9530 simulator. The other component packages contain various other devices. As you wish to test other devices, you can switch the component packages here.

Now that we have told Eclipse which component package to use, we need to specify that we want to use the Storm simulator.
  1. Right click on your project in the Package Explorer, and select Run As > Run Configurations.
    The Run Configurations dialog will pop up.
  2. Under the BlackBerry Simulator section, there is an item called DebugServer.
    Select it, and go to the Simulator tab.
  3. In the Profile drop down, select 9530-JDE.
    This is the BlackBerry Storm simulator. If you wish to test the Thunder, select 9500-JDE.
  4. Click "run" to run the simulator
That's it! When you hit run, the BlackBerry Storm simulator should kick off. You can now code your test app, and run it on a Storm simulator by clicking Run As > BlackBerry Simulator.

LINKS
Java SE Runtime Environment (JRE) 6 Update 11
Eclipse Download Page
BlackBerry Eclipse Plugins
BlackBerry JDE Plug-in for Eclipse Installation Instructions
blog comments powered by Disqus