Build and test your application
Build your application
To build your application, first you need to set up the build target. Right click on the project name, select Build Configurations > Set Active. From the list, select Device-Debug if you are going to run the application on a device, or Simulator-Debug if you plan to test on the BlackBerry Dev Alpha Simulator.
To build the project, right click on the project again, and select Build Project. When the build is complete, have a look inside the Binaries folder under your project; you should see a file corresponding to your project name for the x86 target.
Test your application
Now you are ready to run the application. Right click on either the project or the binary, and select Run As > Run Configurations. You should already have a target configured in the Target Options field and connected to your device or simulator. If your configured target shows "not connected", make sure your device is actually connected, or if you are using the simulator, that your simulator is powered on, then try removing the target and reading it.
Now you are one click away from seeing your brightly colored image rotating on the screen. Click Run and there you are!