Get Started Developing for BlackBerry.
Wall Script
Wall Script
Wednesday, July 27, 2011

Get Started Developing for BlackBerry.

Are you looking for BlackBerry application development tutorial. Take a quick look at this post my friend want to explain how to download and install BlackBerry standard development kit with eclipse IDE. It's very simple just follow these steps and you can create Hello World program.

Get Started Developing for Blackberry with Eclipse

I had used a specific format for reporting and tracking bugs which you can see in the spread sheet (excel) below.
Tested the following URL (labs.9lessons.info) and reported issues to Srinivas Tamada (developer).

Author
Arun Kumar Munuswamy
Arun Kumar Munuswamy
Mobile Application Developer
Chennai, INDIA
clusterlessons.blogspot.com

Download & Installation

Step 1
Click here to the site where you can download the Blackberry 7 SDK and click on the highlighted link to download the file.
Blackberry SDK setup

Step 2
The previous page will navigate you to a login screen where you can enter your credentials and login (If you don’t have one, register for a new one).
Blackberry SDK setup

Step 3
After login, you will be redirected to download page and click download button.

Blackberry SDK setup

Step 4
Double click on the downloaded file to install it.

Blackberry SDK setup

Blackberry SDK setup

Step 5
Click next to proceed the installation

Blackberry SDK setup

Step 6
Chose accept and click next.

Blackberry SDK setup

Step 7
Chose the destination place where you want to install the eclipse and click next.

Blackberry SDK setup

Step 8
If you do not want to create shortcut on desktop and programs means uncheck those check boxes and click next.

Blackberry SDK setup

Step 9
Click Install.

Blackberry SDK setup

Blackberry SDK setup

Step 10
Click Done.
Blackberry SDK setup

If you get this error message means you have to download the latest version of JRE and install and run the eclipse.
Blackberry SDK setup

Your eclipse will start like this.
Blackberry SDK setup

Step 11
Chose the destination folder for your workspace and click the check box to avoid this message on future use.
Blackberry SDK setup

Step 12
Your eclipse will opens like this.
Blackberry SDK setup

Creating Hello World Project

Step 1
Click File -> New -> Blackberry Project
Blackberry SDK setup

Step 2
Enter your project name and click Finish.
Blackberry SDK setup

Step 3
In you package explorer you can find “mypackage” under your project source which contains two class files named “MyApp.java” and “MyScreen.java”. Here “MyApp.java” is your main application class and “MyScreen.java” is your application screen class.
Blackberry SDK setup

Double click on the “MyScreen.java” and replace the following code in it.

package mypackage;
import net.rim.device.api.ui.component.LabelField;
import net.rim.device.api.ui.container.MainScreen;

public final class MyScreen extends MainScreen
{
LabelField lbl = new LabelField();
public MyScreen()
{
// Set the displayed title of the screen
setTitle("My First Application");

lbl.setText("Hello Blackberry");
add(lbl);
}
}

Here I have added a label field and assigned the text as “Hello Blackberry”. I have changed the screen title as “My First Application”.

Step 4
Right click on the screen and select Run As  BlackBerry Simulator

Blackberry SDK setup

Step 5
Your blackberry simulator will open like this.
Blackberry SDK setup

Step 6
Here click “All” and swipe or scroll down to your “HelloBlackBerry” application and click on it to open.
Blackberry SDK setup

Step 7
You can see the “Hello Blackberry” on the screen and the “My First Application” on the title.
Blackberry SDK setup

IMPORTING BLACK SAMPLE PROJECTS
You can import blackberry sample projects by File -> Import -> BlackBerry -> ”Import BlackBerry Samples” and click Next. Then click Finish. You can find the sample projects in your project explorer.
web notification

41 comments:

  1. Good Start Arun., Keep it up

    ReplyDelete
  2. Can I translate your tutorials in russian and post it in my blog?

    ReplyDelete
  3. Hey Awesome da! Arun...you've started rocking! This is a neatly presented.Keep up the good work da!

    ReplyDelete
  4. I can only use Eclipse? What about Neatbeans?

    ReplyDelete
  5. Nice one. Thanks. can you start a lesson for android applications also ?

    ReplyDelete
  6. hi there, is there smth like iPhone simulator? wanna try them out....

    ReplyDelete
  7. @Diane W: Yes Diane. You can use netbeans also. You can follow this link for further clarifications http://plugins.netbeans.org/plugin/11194/rim-blackberry-plugin

    ReplyDelete
  8. @Anonymous : Hi.. I can't able to get your question. You want to develop Blackberry or I Phone applications ??

    ReplyDelete
  9. @ Anonymous: I have planned to post same installation process for Android, Windows Phone 7, Blackberry PlayBook etc.. in my blog soon. After that i will start lessons for Android application too..

    ReplyDelete
  10. @ Александр : Yes you can. But please give the credits to me :-)

    ReplyDelete
  11. nice article ...... very very thanks for sharing

    ReplyDelete
  12. Thanks... Good article. Please publish more tutorials if you can.

    ReplyDelete
  13. Hello Arun,

    Please help me I have a BlackBerry Bold phone in my BB on screen has a jvm error 102.How to reset this error please help me........

    ReplyDelete
  14. Hi saleem mohammad, here is the solution for your jvm 102 error. http://forums.pinstack.com/f23/jvm_error_102_step_by_step_fix-10781/

    ReplyDelete
  15. awesome information, thanks for sharing this. tanks very much

    ReplyDelete
  16. Thanks been searching for good stuff like this.

    ReplyDelete
  17. Downloading Blackberry SDK, and thanks for this clear tutorial..
    have you posted other tutorials about BlacBerry? if yes, where I can see it?

    ReplyDelete
  18. It's although same in android app development. Difference would be about Software Development Kit and simulator as they have. Anyway that was informative.

    ReplyDelete
  19. Thank YOu Very Much Arun...Pls keep posting.....!!!!!!

    I bookmarked this page. and waiting for next update like this one..!!!!!!

    ReplyDelete
  20. thanks for a easy example....

    ReplyDelete
  21. very neat and clean sample example given by arun. thnks to Help .

    ReplyDelete
  22. Simply superb example given in this post. Really it's very helpful to blackberry developer to develop their first app. Thank you very much for such a great post.

    ReplyDelete
  23. Thanks for sharing a blackberry SDK download and installation process, given the easy download and install process. This is a wonderful information.

    ReplyDelete
  24. Thanks for sharing a blackberry SDK download and installation process, given the easy download and install process. This is a wonderful information.

    ReplyDelete
  25. This is a very nice tip's to download and install the Blackberry application. Thanks for share Cool information.

    ReplyDelete
  26. Just awesome. Thanks for sharing this. For more you can also visit : www.genorainfotech.com

    ReplyDelete

mailxengine Youtueb channel
Make in India
X