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.
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
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.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).Step 3
After login, you will be redirected to download page and click download button.Step 4
Double click on the downloaded file to install it.Step 5
Click next to proceed the installationStep 6
Chose accept and click next.Step 7
Chose the destination place where you want to install the eclipse and click next.Step 8
If you do not want to create shortcut on desktop and programs means uncheck those check boxes and click next.Step 9
Click Install.Step 10
Click Done.If you get this error message means you have to download the latest version of JRE and install and run the eclipse.
Your eclipse will start like this.
Step 11
Chose the destination folder for your workspace and click the check box to avoid this message on future use.Step 12
Your eclipse will opens like this.Creating Hello World Project
Step 1
Click File -> New -> Blackberry ProjectStep 2
Enter your project name and click Finish.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.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);
}
}
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 SimulatorStep 5
Your blackberry simulator will open like this.Step 6
Here click “All” and swipe or scroll down to your “HelloBlackBerry” application and click on it to open.Step 7
You can see the “Hello Blackberry” on the screen and the “My First Application” on the title.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.
Good Start Arun., Keep it up
ReplyDeleteVery clear thanks Arun
ReplyDeleteHala! Amazing!
ReplyDelete@all: thanks :-)
ReplyDeleteperfect @Arun
ReplyDeleteCan I translate your tutorials in russian and post it in my blog?
ReplyDeleteHey Awesome da! Arun...you've started rocking! This is a neatly presented.Keep up the good work da!
ReplyDeleteNice Article :)
ReplyDelete@hakan: thanks :-)
ReplyDeleteI can only use Eclipse? What about Neatbeans?
ReplyDeleteNice one. Thanks. can you start a lesson for android applications also ?
ReplyDeleteGood Keep it Up...
ReplyDeletehi there, is there smth like iPhone simulator? wanna try them out....
ReplyDeletenice post
ReplyDeletenice men!!!
ReplyDelete@all: once again thanks to all..
ReplyDelete@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@Anonymous : Hi.. I can't able to get your question. You want to develop Blackberry or I Phone applications ??
ReplyDelete@ 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@ Александр : Yes you can. But please give the credits to me :-)
ReplyDeletenice article ...... very very thanks for sharing
ReplyDeleteThanks... Good article. Please publish more tutorials if you can.
ReplyDeleteHello Arun,
ReplyDeletePlease 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........
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/
ReplyDeletenice info
ReplyDeleteThanks Arun for halp me.......
ReplyDeleteNice Post thanks for sharing.
ReplyDeleteawesome information, thanks for sharing this. tanks very much
ReplyDeleteThanks been searching for good stuff like this.
ReplyDeleteDownloading Blackberry SDK, and thanks for this clear tutorial..
ReplyDeletehave you posted other tutorials about BlacBerry? if yes, where I can see it?
very nice post for beginners!!!
ReplyDeleteIt's although same in android app development. Difference would be about Software Development Kit and simulator as they have. Anyway that was informative.
ReplyDeleteThank YOu Very Much Arun...Pls keep posting.....!!!!!!
ReplyDeleteI bookmarked this page. and waiting for next update like this one..!!!!!!
thanks for a easy example....
ReplyDeletevery neat and clean sample example given by arun. thnks to Help .
ReplyDeleteSimply 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.
ReplyDeleteThanks for sharing a blackberry SDK download and installation process, given the easy download and install process. This is a wonderful information.
ReplyDeleteThanks for sharing a blackberry SDK download and installation process, given the easy download and install process. This is a wonderful information.
ReplyDeleteThis is a very nice tip's to download and install the Blackberry application. Thanks for share Cool information.
ReplyDeleteGood Knowlege..
ReplyDeleteJust awesome. Thanks for sharing this. For more you can also visit : www.genorainfotech.com
ReplyDelete