Blackberry JAVA DEVELOPMENT ENVIRONMENT Panduan Memulai - Halaman 5
Jelajahi secara online atau unduh pdf Panduan Memulai untuk Perangkat lunak Blackberry JAVA DEVELOPMENT ENVIRONMENT. Blackberry JAVA DEVELOPMENT ENVIRONMENT 32 halaman. Version 4.7.0
Juga untuk Blackberry JAVA DEVELOPMENT ENVIRONMENT: Catatan Rilis (8 halaman)
Contents
1
Tools for creating a BlackBerry device application........................................................................................ 7
Using the BlackBerry Java Development Environment................................................................................7
Prerequisites for using the BlackBerry Java Development Environment...........................................7
Using the BlackBerry JDE Plug-in for Eclipse ...............................................................................................7
Prerequisites for using the BlackBerry JDE Plug-in for Eclipse.......................................................... 8
Development tools............................................................................................................................................ 8
BlackBerry simulators....................................................................................................................................... 9
The BlackBerry Smartphone Simulator .................................................................................................. 9
The BlackBerry MDS simulator................................................................................................................ 9
The BlackBerry email server simulator..................................................................................................10
2
Creating a BlackBerry device application....................................................................................................... 11
Create a basic BlackBerry device application ..............................................................................................11
Create a project for the HelloWorld application in an Eclipse workspace .......................................11
Set the information and type for the project for the HelloWorld application..................................11
Add .java source files to the project for the HelloWorld application................................................ 12
Import resources into HelloWorld.java.................................................................................................. 12
Provide a UI for a HelloWorld application ............................................................................................ 12
12
Create a screen for the HelloWorld application ..................................................................................13
Allow the HelloWorld application display a screen.............................................................................14
Test the HelloWorld application in the BlackBerry Smartphone Simulator ....................................14
Code sample: A HelloWorld application ...............................................................................................15
Create a BlackBerry device application with advanced UI features........................................................16
Create a project for a CityInfo application in an Eclipse workspace................................................16
Set the information and type for the project for the CityInfo application ......................................16
Add .java source files to the project for the CityInfo application ..................................................... 17
Import resources into CityInfo.java ....................................................................................................... 17
Provide a UI for the CityInfo application .............................................................................................. 17
Create a screen for the CityInfo application ........................................................................................18