CREATING YOUR FIRST BLACKBERRY APP
The BlackBerry Java Plug-in for Eclipse provides templates you can use to create a basic app. You can customize the code in the template to suit your needs, or you can create an app from scratch with an empty template.
To get you started, we'll create a version of the "Hello World" app with the Hello BlackBerry template. This version of "Hello World" is a basic UI application that provides some simple UI components. The app includes an editable text field that allows the smartphone user to type text in a field; in this example, they can type their name. The app also includes a button field. When the smartphone user types their name and clicks the Say Hello to button, the app displays a dialog box with the text Hello <username> as shown in the following screenshot.

Create the Hello BlackBerry app
Before you begin: In the BlackBerry Java Plug-in for Eclipse, make sure you turn on the BlackBerry Application Development perspective. Click Window > Open Perspective > Other and then choose BlackBerry Application Development.
- From the BlackBerry menu, click New > BlackBerry Project.
- In the Project name field, type HelloBlackBerry.
- In the New BlackBerry Project dialog, select Create new project in workspace.
- Under JRE, select Use a project specific JRE and then choose BlackBerry JRE 7.0.0 from the dropdown list.
- Click Next.
- Click Next.
- Select the Hello BlackBerry template.
- Click Finish.
Running your app
You can run and test your app on a BlackBerry® Smartphone Simulator or a BlackBerry smartphone.
The BlackBerry® Java® Plug-in for Eclipse® includes simulators for various BlackBerry smartphone models. The simulators run the same Java® code as the smartphones, so a simulator provides an accurate environment for testing how your app will function on a BlackBerry device.
Run your app in a simulator
Run your app on a smartphone
Before you begin: If your app uses protected Research In Motion APIs, you must first get code signing keys from RIM. For more information about code signing and registering with RIM to use protected APIs, see www.blackberry.com/SignedKeys
Thank you for your time.....