In past years, Research In Motion (RIM) has had sway over the enterprise and the devices they use in their place of work. Recently, RIM has widened their market to incorporate a younger audience which has increased the need for applications geared less for enterprise and more for fun. In this tutorial series we are going to walk through setting up the development environment all the way to releasing a working application to the marketplace. In this tutorial we will start by setting up the development environment and preparing to start developing for the Blackberry devices.
Research In Motion has recently revamped the way setting up their development environment works. Admittedly, it was much more difficult the last time we set this up but RIM has listened to developers and came to a more concise way to do things. We will need to download the Java Runtime Environment (JRE) if you haven’t done so before this. The JRE can be found here and takes less than 2 minutes to install provided you follow the instructions. After the JRE is downloaded and installed we can proceed to the next phase of setting up the Blackberry Development Environment; downloading the Eclipse Plug-In.
We may stand to be corrected but when installing the Blackberry Eclipse Plug-in you do not need to download this Eclipse IDE as the “plug-in” will run by itself. To grab the plug-in we need to navigate to the Blackberry website make sure we meet the requirements. After all the requirements are met we can start the installer starting with the welcome screen. This screen is an introduction to what the plugin installer we will do. We can then press the Next button to proceed to the next step.
The next screen is for the license agreement which is pretty standard. We can proceed to press next and go to the next screen.
This next screen is where we can choose the installation path for the Blackberry Eclipse plugin. We chose to install the plugin on the C: drive under the eclipse folder. You are free to choose wherever you like to install this plugin, just remember where you installed it so we can access it easily. After we choose the path we can proceed to press the next button.
This screen is used to create short-cuts for the desktop and the task bar. We like to have our IDE’s readily available to us so we left the check-boxes checked. After you choose what your preferences are for short-cuts we can then press next.
This screen will show us what options we have chosen and the actions that are going to be taken once we press the next button. After these are to your liking, we can then press the Next button. We will then see the install screen where we will wait for ~5 minutes for the install to complete were we will then find the install complete screen. We can exit out of the final screen and navigate to the desktop. If you chose to have the short-cuts installed we can now find the icon looking like the one in the picture below.
After this is complete we can go ahead and double click on the icon where we will then be taken to the Eclipse workspace but not before we choose our workbench. To do this add the location of your projects to the workbench by entering the location in the text field shown on the dialogue box below.
After this is done we will enter the IDE and be prompted to check and see if there is an update available for the Blackberry Eclipse Plug-in.
After this is done we are ready to view our new IDE to use in the development of Blackberry’s operating system. With this IDE ready to go we can now focus on developing our first application in the next tutorial. If anyone requires any help installing the IDE feel free to shoot us a comment below and we will respond in due diligence. Until the next tutorial, Happy Hacking!