Contents
1 Understanding BlackBerry and programming for BlackBerry devices...............................................................................
5
Design principles for BlackBerry devices.....................................................................................................................................
5
Release cycles and versions...........................................................................................................................................................
6
BlackBerry Java Development Environment................................................................................................................................
6
Java ME and Java APIs for BlackBerry..........................................................................................................................................
7
Support for standard Java APIs.............................................................................................................................................
7
Support for Java API extensions...........................................................................................................................................
8
BlackBerry solutions.......................................................................................................................................................................
8
BlackBerry Enterprise Solution.............................................................................................................................................
9
BlackBerry Internet Service...................................................................................................................................................
9
BlackBerry MDS......................................................................................................................................................................
9
2 BlackBerry Java Application design..........................................................................................................................................
10
Standalone applications.................................................................................................................................................................
10
Applications with desktop synchronization.................................................................................................................................
10
Applications with wireless access, wireless synchronization, or wireless alerting..................................................................
10
MIDlet applications........................................................................................................................................................................
10
CLDC applications..........................................................................................................................................................................
11
API control and code signing........................................................................................................................................................
12
Object modeling..............................................................................................................................................................................
12
Multithreading.................................................................................................................................................................................
12
Best practice: Using multithreading....................................................................................................................................
12
Best practices for writing an efficient BlackBerry Java Application.........................................................................................
13
Best practice: Writing efficient code....................................................................................................................................
13
Best practice: Using objects judiciously..............................................................................................................................
18
Best practice: Reducing the size of compiled code............................................................................................................
18
Multilanguage support...................................................................................................................................................................
20
Best practice: Storing text strings in resource files............................................................................................................
20
Multimedia support.........................................................................................................................................................................
21
Audio support..........................................................................................................................................................................
21
Imaging support.....................................................................................................................................................................
21
Video support..........................................................................................................................................................................
21
3 UI and navigation design...........................................................................................................................................................
22