I have been idle for a while recently, so I learned how to develop BlackBerry. Of course, the first step of development is to build a development environment. Google has a few tutorials, but they are very old, probably because there are few BlackBerry developers in China. The advantage of Blackberry is its well-known security, so there are a group of loyal fans. In fact, I am not only a fan of apple but also a fan of blackberry, but also a fan of Android. Because there are a lot of Android fans in China, I should release Android first and study it later. Now, let's go back to the topic: Build the development environment.
First, we need to download something for preparation:
Download Eclipse: http://www.eclipse.org/downloads/ I downloaded eclipse
Classic 3.7, 174 MB, found that two versions are 64-bit, one is 32-bit, please be sure to download the 32-bit version here, whether your operating system is 64-bit or not.
Download BlackBerry Java Plug: The http://us.blackberry.com/developers/javaappdev/javaplugin.jsp says on this page why download the 32-bit version of eclipse (Note: 64-bit
Versions require 32-bit Java and eclipse ).
Download jdk6: http://www.oracle.com/technetwork/java/javase/downloads/index.html so far (2011.9.17) the latest version is 7, but we have to download Java
Se 6 Update 27 I failed to download the 7 results.
See http://supportforums.blackberry.com/t5/Java-Development/InvalidRegex-Pattern-value-a-zA-Z-1-63-a-zA-Z-0-9-0-63-is-not-a/td-p/944343
After the preparation is complete, let's start the installation: First extract eclispe to a place, usually on the d disk. Install JDK and double-click "Run belackberry Java Plug" to start installation. During the installation process, select the root directory of eclispe. I created a new BlackBerry directory that is similar to eclipse, for example:
After installation, you must prompt whether to enable plug. Click here to enable and configure BlackBerry eclipse.
If you want to upgrade BlackBerry SDK in eclipse, see: http://us.blackberry.com/developers/javaappdev/javaupdate.jsp
Official development documentation address: http://docs.blackberry.com/en/developers? Usertype = 21
Now you have installed the environment successfully. The next article introduces how to write a helloworld.
If you want to update the BlackBerry SDK in eclipse, refer to: http://us.blackberry.com/developers/javaappdev/javaupdate.jsp