Difference between revisions of "BlackBerry Concepts"

From CDOT Wiki
Jump to: navigation, search
(project)
(Development Environment for BlackBerry Applications using Java)
Line 16: Line 16:
  
 
|-
 
|-
| [[File:3bb.png|left|600px]] || Goals of the project is to create a Hello World Application that:
+
| [[File:3bb.png|left|600px]] || Goals of the Project is to create an Application that:
 
* run the application by adding it to the event dispatcher
 
* run the application by adding it to the event dispatcher
 
* create a Screen and push it onto the Screen stack
 
* create a Screen and push it onto the Screen stack

Revision as of 23:18, 21 February 2011


Development Environment for BlackBerry Applications using Java

This is a practical introduction of steps for building a BlackBerry apps using Eclipse IDE. (Alan Wong - January 13, 2011).


Steps Actions
1bb.png
Install, Configuration, Check
2bb.png
BlackBerry Java Plug-in for Eclipse
3bb.png
Goals of the Project is to create an Application that:
  • run the application by adding it to the event dispatcher
  • create a Screen and push it onto the Screen stack
  • specify the title of a Screen
  • display text on the screen using a RichTextField
  • display a dialog box when the user closes the application

Configuring the Project

Steps Actions
4bb.png
<Properties ModelVersion="1.1.2">
  <General Title="Hello World Demo" Version="0.9" Vendor="Research In Motion Ltd." Description=""/>
  <Application Type="BlackBerry Application" MainMIDletName="" MainArgs="" HomeScreenPosition="0" StartupTier="7" IsSystemModule="false" IsAutostartup="false"/>
  <Resources hasTitleResource="false" TitleResourceBundleName="" TitleResourceBundleRelativePath="" TitleResourceBundleClassName="" TitleResourceBundleKey="" DescriptionId="">
    <Icons>
      <Icon CanonicalFileName="res\img\helloworld_jde.png" IsFocus="false"/>
    </Icons>
  </Resources>
  <Compile OutputCompilerMessages="false" ConvertImages="true" CreateWarningForNoExportedRoutine="true" CompressResources="false">
    <PreprocessorDefines/>
  </Compile>
  <Packaging OutputFileName="HelloWorldDemo" OutputFolder="deliverables" PreBuildStep="" PostBuildStep="" CleanStep="" GenerateALXFile="true">
    <AlxFiles/>
  </Packaging>
  <HiddenProperties>
    <ClassProtection/>
    <PackageProtection/>
  </HiddenProperties>
  <AlternateEntryPoints/>
</Properties>
5bb.png
BlackBerry Java Plug-in for Eclipse
6bb.png
Goals of the Application:
  • run the application by adding it to the event dispatcher
  • create a Screen and push it onto the Screen stack
  • specify the title of a Screen
  • display text on the screen using a RichTextField
  • display a dialog box when the user closes the application