Table Of Contents - Blackberry JAVA DEVELOPMENT ENVIRONMENT - - DEVICE APPLICATIONS INTEGRATION - DEVELOPMENT GUIDE Integration Manual

Blackberry device applications integration guide
Table of Contents

Advertisement

Contents
1
Adding custom menu items to applications .................................................................................................... 8
Adding menu items to BlackBerry Java Applications.................................................................................. 8
Create a menu item................................................................................................................................... 8
Register a menu item ................................................................................................................................ 9
2
Integrating with BlackBerry applications ....................................................................................................... 11
Invoke BlackBerry applications ......................................................................................................................11
3
Using the message list .......................................................................................................................................13
Create new messages......................................................................................................................................13
Work with a message.......................................................................................................................................15
Open a message .......................................................................................................................................16
Retrieve the body of a message without an attachment.................................................................... 17
Retrieve the body of a message with an attachment.......................................................................... 17
Code sample: Retrieve the body of a message ....................................................................................18
Notify an application that an email message is about to be sent....................................................20
Notify an application that an MMS message is about to be sent ....................................................20
Notify an application that an SMS message is about to be sent .....................................................20
Send a message ........................................................................................................................................ 21
Reply to a message.................................................................................................................................. 22
Forward a message.................................................................................................................................. 23
Work with folders ............................................................................................................................................ 23
Working with attachments ............................................................................................................................ 25
Create an attachment handler .............................................................................................................. 25
Retrieve attachments.............................................................................................................................. 25
Send a message with an attachment ...................................................................................................26
4
Using PIM applications ..................................................................................................................................... 27
Using the calendar ......................................................................................................................................... 27
Start the calendar from your BlackBerry Java Application ............................................................... 27
Use the calendar...................................................................................................................................... 28
Notify an application when a list of events changes ..........................................................................31

Advertisement

Table of Contents
loading

This manual is also suitable for:

Java development environment 4.6.0

Table of Contents