|
Tips & Tricks
Need some quick tips? In this issue, we are looking at using new features and functionality in BlackBerry JDE v4.1:
- Using JDWP in JDE v4.1 to integrate with Eclipse
- Using the new Phone APIs
- Launching BlackBerry Applications from your Java Application
Using JDWP in JDE 4.1 to integrate with Eclipse
By using the Java Debug Wire Protocol (JDWP) program, developers are provided an interface to the BlackBerry simulators and can use third-party integrated development environments when the JDWP is started.
Get step by step instructions on how to integrate with Eclipse, including:
- Connecting to the Eclipse environment
- Extending the Sun JRE
- Adding API documentation
- And More!
BlackBerry Application Developer Guide Volume 1: Fundamentals – page 27
Using the new Phone APIs
The phone API ( net.rim.blackberry.api.phone ) provides access to advanced features of the phone application, such as enabling applications to inject DTMF tones into active calls.
More information on Phone APIs, such as:
- Retrieve a phone call
- Retrieve phone call information
- Add DTMF tones to the send queue
can be found in BlackBerry Application Developer Guide Volume 2: Advanced Topics – page 77.
Launching BlackBerry Applications from your Java Application
Take advantage of the following functionality available in BlackBerry JDE v4.1:
- AddressBookArguments ( net.rim.blackberry.api.invoke.AddressBookArguments ) can be changed to open a contact using a PIM Contact
- CalendarArguments ( net.rim.blackberry.api.invoke.CalendarArguments ) can be changed to view existing PIM Events. You cannot create new events from PIM objects
- MessageArguments ( net.rim.blackberry.api.invoke.MessageArguments ) can be changed to create messages with a subject and body
- TaskArguments ( net.rim.blackberry.api.invoke.TaskArguments ) cannot be updated without changes to the Task application
For more information on launching BlackBerry application from your Java application, read the Knowledge Base article, How To Invoke Applications or BlackBerry Application Developer Guide Volume 2: Advanced Topics – page 83.
Got a tip you want to share? Email us.
Back to top
|