Troubleshooting guide

Use USB or serial port connections.....................................................................................................128
Use Bluetooth serial port connections................................................................................................128
8 Creating notifications...................................................................................................................................... 135
Types of notification events .........................................................................................................................135
Add a new event source............................................................................................................................... 136
Register the event source when the BlackBerry device starts ....................................................... 136
Code sample:...........................................................................................................................................137
Triggering events .......................................................................................................................................... 139
Respond to deferred events ........................................................................................................................ 140
Cancel events ................................................................................................................................................. 141
Customize system notifications for immediate events.............................................................................141
Code sample: Creating a custom notification....................................................................................143
9 Managing applications.................................................................................................................................... 147
Application manager.....................................................................................................................................147
Retrieve information about applications....................................................................................................147
Register applications when the BlackBerry device starts....................................................................... 148
Communicate with other applications....................................................................................................... 148
Determine the services that are available to BlackBerry applications................................................. 148
Listen for changes to IT policies ................................................................................................................. 149
Code example: Listening for changes to IT policies......................................................................... 149
Managing code modules.............................................................................................................................. 149
Retrieve module information ............................................................................................................... 150
Retrieve an array of handles for existing modules on a BlackBerry device.................................. 150
Create code modules ............................................................................................................................ 150
Runtime store ................................................................................................................................................. 151
Share runtime objects ................................................................................................................................... 151
10 Using the messages application.................................................................................................................... 153
Create new messages....................................................................................................................................153
Work with a message.................................................................................................................................... 155
Open a message .................................................................................................................................... 155
Send a message ..................................................................................................................................... 156
Reply to a message.................................................................................................................................157
Forward a message................................................................................................................................ 158
Work with folders .......................................................................................................................................... 158