Retrieve multiple lists of events ............................................................................................................ 32
Using the address book ................................................................................................................................. 32
Open the address book from your BlackBerry Java Application ...................................................... 32
Use contacts............................................................................................................................................. 32
Notify an application when a list of contacts changes...................................................................... 38
Using tasks.......................................................................................................................................................39
Start the task application from your BlackBerry Java Application ..................................................39
Use tasks...................................................................................................................................................40
Notify an application when a list of tasks changes ........................................................................... 43
Code samples................................................................................................................................................... 43
Code sample: Creating new recurring appointments ........................................................................ 43
Code sample: Displaying a screen that lets BlackBerry device users add new contacts .............45
Code sample: Using tasks ......................................................................................................................48
5
Using the phone application .............................................................................................................................51
Start the phone application from your BlackBerry Java Application .......................................................51
Use phone call functionality ..........................................................................................................................51
Add DTMF tones to the send queue ..................................................................................................... 52
BlackBerry DTMF tones........................................................................................................52
Listen for phone events.................................................................................................................................. 53
Access and use call logs................................................................................................................................. 53
Code sample ....................................................................................................................................................54
Code sample: Calculating the time spent on the phone by a participant ......................................54
6
Using the BlackBerry Browser ......................................................................................................................... 57
Display content in the BlackBerry Browser ................................................................................................ 57
Display content in a BlackBerry Browser field ........................................................................................... 57
Code sample ....................................................................................................................................................60
Code sample: Using the BlackBerry Browser......................................................................................60
Summary of Contents for JAVA DEVELOPMENT ENVIRONMENT - - DEVICE APPLICATIONS INTEGRATION - DEVELOPMENT GUIDE
Page 4: ......
Page 7: ......
Page 10: ...10 BlackBerry Device Applications Integration Guide...
Page 12: ...12 BlackBerry Device Applications Integration Guide...
Page 50: ...50 BlackBerry Device Applications Integration Guide...
Page 56: ...56 BlackBerry Device Applications Integration Guide...
Page 65: ......
Page 66: ...2008 Research In Motion Limited Published in Canada...