blackberry application tutorial
TRANSCRIPT
BlackBerry Application Project [ACADEMIC APTITUDE TEST]
BLACKBERRY TUTORIALAcademic Aptitude Test
Created By :
Febriansyah Razak
Syamsi Dwi Cahya
ELECTRICAL AND INFORMATICS ENGINEERING SCHOOL
BANDUNG INSTITUTE OF TECHNOLOGY
2010
BlackBerry Application Project [ACADEMIC APTITUDE TEST]
BLACKBERRY TUTORIAL
Academic Aptitude Test
1. Application Description
1.1 Name : Academic Aptitude Test
1.2 Short Description : The Application is used for measure skill and competence for
answer the general knowledge questions
1.3 Genre : General
1.4 Story Board : Sometimes we feel confused and not confidence for follow the
Academic Aptitute test (written test). For solve the problems we
make the application that can be used by everyone and
everywhere. The application can be a new methode for exercises
before follow the real Academic Aptitude test.
2. Software & Hardware Requirements
2.1 Software
a. BlackBerry_JDE_PluginFull_1.0.0.67
b. BlackBerry_JDE_4.7.0 or above
c. Eclipse
2.2 Hardware
a. Min Memori 512
b. Min Processor Pentium 4
BlackBerry Application Project [ACADEMIC APTITUDE TEST]
3. Step by Step to Make Application
A. Make the Project
At first, for making the Blackberry Application. We must prepare a project for
collect class and package that will be made.
1) Click File > New > choose Other > or use the shortcut CTRL+N like this figure.
Figure 1.1
After that, we will look at the wizard like this :
Figure 1.2
BlackBerry Application Project [ACADEMIC APTITUDE TEST]
2) Choose BlackBerry Project > and then click > Next
Figure 1.3
3) Fill name of project that will be made in the Project Name filed. Example : TPA
4) Use default location is a storage address from project that will be made. If the check
box is check, the project will be saved by default. But if the check box is blank, the
project can be saved in other directory
5) Then click > Finish.
BlackBerry Application Project [ACADEMIC APTITUDE TEST]
B. Make the Package
After the project have made, the next step is make the package that will be use for storage
of class and other files. Step by step for making package such as :
1) Right Click on the name of project > choose new > choose Package
Like this figure :
Figure 1.4
After that, this window will be displayed :
Figure 1.5
BlackBerry Application Project [ACADEMIC APTITUDE TEST]
Fill name of package in the name field, if finish click finish button. If you want to make
private package for collect the images, sounds, etc. you can make it with the same way.
BlackBerry Application Project [ACADEMIC APTITUDE TEST]
C. Make the Class
After the package have made, in that package we have to make a class for collect function
code, methode, etc. Follow this steps :
Figure 1.6
After that, this window will be displayed :
Figure 1.7
Fill the name field with name of class will be made. Example : Main.java
In this class contens of main function which is core of program
BlackBerry Application Project [ACADEMIC APTITUDE TEST]
Then the step forward is writing code like this :
- Extends UiApllication
public class Utama extends UiApplication {
- Make Constructor
public Utama (){//membuat konstruktorSplashScreen ss = new SplashScreen(this);pushScreen(ss);
}
- Declaration main variable
Utama u = new Utama ();
package app;
import net.rim.device.api.ui.UiApplication;
public class Main extends UiApplication {
public static void main(String[] args) {
Main m = new Main();m.enterEventDispatcher();
}public Main () {
SplashScreen ss = new SplashScreen(this);pushScreen(ss);
}}
BlackBerry Application Project [ACADEMIC APTITUDE TEST]
HOW TO USE THIS APPLICATION
At first, running this application. Right click on the project name then choose Run As click 1. BlackBerry Simulator.
Figure 3.1
Then we will be dispalyed Blackberry simulator :
BlackBerry Application Project [ACADEMIC APTITUDE TEST]
Figure 2.2
For running this application, choose the Applicaton blackberry menu then will show display like this
Figure 2.3
In this display, there is icon with testPA Title.. Click that icon than will show application like this :
BlackBerry Application Project [ACADEMIC APTITUDE TEST]
Figure 2.4
For starting this application, click Enter. Then this application will be opened :
Figure 2.5
The Questions with multiple choice for one answer will be displaye. Only one anwer is true. For forward to next question, the answer must true.
BlackBerry Application Project [ACADEMIC APTITUDE TEST]
Figure 2.6
After all of the question is answered. Then the end of splash screen will be displayed :
Figure 2.7