Sign In
Upload
Manuals
Brands
BLACKBERRY Manuals
Software
JAVA DEVELOPMENT ENVIRONMENT
BLACKBERRY JAVA DEVELOPMENT ENVIRONMENT Manuals
Manuals and User Guides for BLACKBERRY JAVA DEVELOPMENT ENVIRONMENT. We have
4
BLACKBERRY JAVA DEVELOPMENT ENVIRONMENT manuals available for free PDF download: Manual, Getting Started Manual, Release Note
BLACKBERRY JAVA DEVELOPMENT ENVIRONMENT Manual (109 pages)
Version: 4.7.0
Brand:
BLACKBERRY
| Category:
Software
| Size: 1 MB
Table of Contents
Table of Contents
3
1 Creating User Interfaces
9
Screens
9
Screen Classes
9
Create a Screen
10
How the Blackberry JVM Manages Screens
10
Provide Screen Navigation When Using a Mainscreen
10
Manage a Drawing Area
11
Touch Screen Orientation and Direction
12
Retrieve the Orientation of the Touch Screen
12
Restrict the Touch Screen Direction
13
Receive Notification When a Drawable Area of the Touch Screen Changes
13
Receive Notification When the Orientation of the Touch Screen Changes
13
Working with the Accelerometer of a Blackberry Device
14
Types of Accelerometer Data
14
Accelerometer
14
Retrieve Accelerometer Data at Specific Intervals
15
Query the Accelerometer When the Application Is in the Foreground
15
Query the Accelerometer When the Application Is in the Background
16
Store Accelerometer Readings in a Buffer
16
Retrieve Accelerometer Readings from a Buffer
17
Get the Time a Reading was Taken from the Accelerometer
17
UI Components
17
Add a UI Component to a Screen
17
Create a Dialog Box
18
Creat a Bitmap
18
Create a Button
18
Create a List
18
Create an Alphanumeric Drop-Down List
18
Create a Text List that Can be Filtered
19
Create a Check Box
21
Create a Radio Button
21
Create a Date Field
21
Create a Text Field
22
Create a Read-Only Text Field that Allows Formatting
22
Create an Editable Text Field that Has no Formatting and Accepts Filters
22
Create an Editable Text Field that Allows Special Characters
22
Create a Password Field
22
Create a Text Field for Autotext
22
Create a Progress Bar Field
23
Create a Text Label
23
Create a List from Which Users Can Select Multiple Items
23
Create a Field to Display a Parent and Child Relationship between Items
24
Add a UI Component to a Screen
25
Create a Custom Field
25
Create a Menu Item
29
Adding Menu Items to a Blackberry Device Application
30
Register a Menu Item
30
Arrange UI Components
31
Create a Layout Manager
31
Align a Field to a Line of Text
32
UI Events
32
Respond to UI Navigation Events
32
Determine the Type of Input Method
32
Respond to Blackberry Device User Interaction
33
Touch Screen Events
33
Types of Touch Screen Events
33
Respond to Touch Screen Events
35
Keyboard on a Blackberry Device with a Touch Screen
42
Change the State of the Keyboard on a Blackberry Device with a Touch Screen
42
Display the Keyboard on a Blackberry Device with a Touch Screen
42
Hide the Keyboard on a Blackberry Device with a Touch Screen
43
Spell Check
44
Add Spell Check Functionality
44
Listen for a Spell Check Event
45
2 Storing Data
47
Data Management
47
Support for Apis to Store Data to Persistent Memory
47
Access to Memory
47
Persistent Data Storage
48
Create a Persistent Data Store
48
Store Persistent Data
48
Retrieve Persistent Data
49
Remove Persistent Data
49
MIDP Record Storage
50
Create an MIDP Record Store
50
Add a Record to a Record Store
50
Retrieve a Record from a Record Store
50
Retrieve All Records from a Record Store
50
Collections
51
Retrieve a Collection from Persistent Storage
51
Create a Collection Listener to Notify the System When a Collection Changes
52
Remove a Collection Listener that Notifies the System When a Collection Changes
52
Notify the System When a Collection Changes
53
Runtime Storage
53
Retrieve the Runtime Store
53
Add an Object in the Runtime Store
54
Replace an Object in the Runtime Store
54
Retrieve a Registered Runtime Object
54
Retrieve an Unregistered Runtime Object
55
3 Creating Connections
56
Network Gateways
56
Using the Blackberry Enterprise Server as an Intranet Gateway
56
Using the Wireless Service Provider's Internet Gateway
56
Retrieve the Wireless Network Name
56
Connections
57
Use HTTP Authentication
57
Use an HTTPS Connection
58
Use a Socket Connection
59
Use a Datagram Connection
60
Use a USB or Serial Port Connection
62
Use a Bluetooth Serial Port Connection
63
Wi-Fi Connections
64
Wireless Access Families
64
Retrieve the Wireless Access Families that a Blackberry Device Supports
65
Determine if a Blackberry Device Supports Multiple Wireless Access Families
65
Determine the Wireless Access Family Transceivers that Are Turned on
65
Turn on the Transceiver for a Wireless Access Family
65
Turn off the Transceiver for a Wireless Access Family
65
Check if the Wi-Fi Transceiver Is Turned on
65
Check if the Wi-Fi Transceiver Is Connected to a Wireless Access Point
65
Retrieve the Status of the Wireless Access Point or the Active Wi-Fi Profile
66
Open a Wi-Fi Socket Connection
66
Open a Wi-Fi HTTP Connection
66
Open a Wi-Fi HTTPS Connection
67
4 Managing Applications
68
Application Manager
68
Retrieve Information about a Blackberry Java Application
68
Communicate with Another Blackberry Java Applications
68
Determine the Services that Are Available to a Blackberry Java Application
69
Application Control
69
Allow a Blackberry Device Application to Request Access to Resources
69
Code Modules
70
Retrieve Module Information
70
Access Control Messages
70
Displaying a Message for an Operation that Requires User Permission
70
Display an Application Control Message to a User
71
5 Using Custom Messages and Folders in the Message List
72
Creating a Module for Background Processes
72
Creating a Module for the UI
72
Create the Module for Background Processes
72
Start the Module for Background Processes or the Module for the UI
73
Create an Icon for a Custom Message
73
Create a Custom Folder in the Message List
74
Send a Notification When a Custom Folder Changes
75
Create an Indicator for the Number of Messages in a Custom Folder
76
Hide an Indicator for a Custom Folder
76
Remove an Indicator for a Custom Folder
76
6 Applications for Push Content
78
Types of Push Applications
78
Types of Push Requests
78
7 Localizing Blackberry Device Applications
80
Multilanguage Support
80
Files Required for Localization
80
Manage Localization Files for a Suite of Blackberry Device Applications
81
8 Controlling Access to Apis and Application Data
83
Check if a Code Signature Is Required
83
Java Apis with Controlled Access
83
Register to Use Controlled Apis
84
Restrictions on Code Signatures
84
Request a Code Signature
85
Register a Signature Key Using a Proxy Server
85
Sign an Application Using a Proxy Server
86
View the Signature Status for an Application
86
Using Keys to Protect Apis and Data
86
Protect Apis Using Code Signing Keys
87
Protect Runtime Store Data Using Code Signing Keys
87
Protect Persistent Data Using Code Signing Keys
88
9 Testing a Blackberry Device Application
89
Testing Applications on a Blackberry Smartphone Simulator
89
Testing Applications on a Blackberry Device
89
Testing Applications Using the Compiled .Cod Files
89
Install and Remove a .Cod File for Testing
90
Save a .Cod File from a Device to a Computer
90
Retrieve Information about a .Cod File
90
10 Packaging and Distributing a Blackberry Java Application
92
Preverify a Blackberry Device Application
92
Application Distribution over the Wireless Network
92
Wireless Pull (User-Initiated)
92
Wireless Push (Server-Initiated)
92
Distributing Blackberry Java Applications over the Wireless Network
92
Extract Sibling .Cod Files
92
Modifying Information for a Midlet Suite
93
Correct the .Cod File Sizes Listed in a .Jad File
94
Create .Jad Files that Reference Multiple .Cod Files
94
Distributing Blackberry Device Applications with the Blackberry Desktop Software
95
Elements in Blackberry Device Application .Alx File
95
Properties of Blackberry Device Application .Jad Files
100
Application Distribution through a Computer Connection
101
Distribute an Application from a Computer
101
Distribute an Application from a Web Page
101
Distribute an Application for Testing
101
Distributing an Application from a Computer
101
Create an Application Loader File
101
Install a Blackberry Device Application on a Specific Device
102
Specifing Supported Versions of the Blackberry Device Software
102
11 Glossary
104
12 Provide Feedback
106
13 Legal Notice
107
Advertisement
BLACKBERRY JAVA DEVELOPMENT ENVIRONMENT Manual (54 pages)
Multimedia Development Guide
Brand:
BLACKBERRY
| Category:
Software
| Size: 0 MB
Table of Contents
Table of Contents
5
1 Working with Multimedia in a Blackberry Application
7
Blackberry Applications and Multimedia
7
2 Using Audio and Video in a Blackberry Application
9
Accessing Stored Media
9
Access Media on a Blackberry Smartphone
9
Access Media on a Microsd Card
9
Playing Media in the Blackberry Browser
9
Play Audio in the Blackberry Browser
9
Play a Video in the Blackberry Browser
10
Playing Media in the Media Application
10
Start the Media Application with or Without Content
10
Streaming Data from a Remote Source to the Media Application
11
Creating a Blackberry Application that Plays Media Files
15
Change the State of a Player
17
Play Media in a Blackberry Application
17
Receive and Send Media Application Events
19
Create Different Kinds of Players
20
Record Audio on a Blackberry Smartphone
24
Send Audio to a Bluetooth Enabled Headset
26
3 Using SVG Content in a Blackberry Application
29
Using SVG Content
29
Download SVG Content
29
Display SVG Content from the Plazmic Media Engine Version 4.2
29
Play SVG Content
30
Listen for Events Related to SVG Content
31
Code Sample: Manage Events When an Application Downloads SVG Content
32
Create a Custom Connection to SVG Content
33
4 Working with Images from the Camera
35
Creating an Image with the Camera
35
Start the Camera from a Blackberry Application
35
Receive Notification of File System Events
35
Detect When an Image Is Added or Removed in the File System
35
Retrieving an Image from the File System
37
Retrieve an Image from Memory on a Blackberry Device
37
Retrieve an Image from a Microsd Card
37
Moving an Image in the File System
37
Move an Image Within the same Directory of the File System
37
Move an Image to a Different Directory of the File System
37
Deleting an Image from the File System
38
Delete an Image from Memory on a Blackberry Device
38
Delete an Image from a Microsd Card
39
5 Working with Images
41
Drawing and Positioning Images
41
Using Images
43
Use Unprocessed Images
43
Use Encoded Images
43
6 Code Samples
45
Code Sample: Retrieving and Displaying SVG Content
45
Code Sample: Implementing a Listener to Download SVG Content
46
Code Sample: Implementing a Custom Connection to SVG Content
48
Code Sample: Using an Unprocessed Image to Recreate an Encoded Image
50
Code Sample: Drawing a New Bitmap Using an Existing Bitmap
51
BLACKBERRY JAVA DEVELOPMENT ENVIRONMENT Getting Started Manual (32 pages)
device application development
Brand:
BLACKBERRY
| Category:
Software
| Size: 0 MB
Table of Contents
Table of Contents
5
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
Allow the Helloworld Application Start Sending and Receiving Events When the Application Starts
12
Create a Screen for the Helloworld Application
13
Allow the Helloworld Application Display a Screen
14
Display a Message When a Blackberry Smartphone User Closes the Helloworld Application
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
Allow the Cityinfo Application Start Sending and Receiving Events When the Application Starts
17
Create a Screen for the Cityinfo Application
18
Allow the Cityinfo Application Use a Screen that Displays a Drop-Down List of City Names
18
Create a Menu Item that a Blackberry Smartphone User Clicks to Display more Information about a City They Select
18
Create a Menu Item that a Blackberry Smartphone User Clicks to Close a Blackberry Device Application
19
Add Menu Items to the Cityinfo Application Menu
19
Create a Screen that Displays Information about a City
20
Allow the Cityinfo Application Set the Values of UI Fields with City Information
21
Test the Cityinfo Application in the Blackberry Smartphone Simulator
21
Code Sample: a Blackberry Device Application that Displays Information on a City the User Selects
22
3 Testing a Blackberry Device Application
25
Obfuscating a Blackberry Device Application
25
Preverifying a Blackberry Device Pplication
25
Testing a Blackberry Device Application on a Blackberry Smartphone Simulator
26
Testing a Blackberry Device Application on a Blackberry Smartphone
26
4 Distributing a Blackberry Device Application
29
Application Distribution through a Computer Connection
29
Distribute an Application from a Computer
29
Distribute an Application from a Web Page
29
Distribute an Application for Testing
29
Application Distribution over the Wireless Network
29
Wireless Pull (User-Initiated)
30
Wireless Push (Server-Initiated)
30
Advertisement
BLACKBERRY JAVA DEVELOPMENT ENVIRONMENT Release Note (8 pages)
version 4.7.0
Brand:
BLACKBERRY
| Category:
Software
| Size: 0 MB
Advertisement
Related Products
BLACKBERRY JAVA DEVELOPMENT ENVIRONMENT - - FEATURE AND TECHNICAL
BLACKBERRY JAVA DEVELOPMENT ENVIRONMENT - - FUNDAMENTALS GUIDE
BLACKBERRY JAVA DEVELOPMENT ENVIRONMENT - - CRYPTOGRAPHIC SMART CARD DRIVER - DEVELOPMENT GUIDE
BLACKBERRY JAVA DEVELOPMENT ENVIRONMENT - - MULTIMEDIA - DEVELOPMENT GUIDE
BLACKBERRY JAVA DEVELOPMENT ENVIRONMENT - - DEVICE APPLICATIONS INTEGRATION - DEVELOPMENT GUIDE
BLACKBERRY JAVA DEVELOPMENT ENVIRONMENT - - GPS AND MAPS - DEVELOPMENT GUIDE
Blackberry Java Development Environment 4.7.0
BLACKBERRY CLIENT FOR IBM LOTUS QUICKR - J2EE
Blackberry 9000 - Bold
Blackberry AH0Q2ML - Lotus Domino Utility Server Express
BLACKBERRY Categories
Cell Phone
Software
Handhelds
Radar
Server
More BLACKBERRY Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL