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


© 2005 Research In Motion Limited. All rights reserved. The BlackBerry and RIM families of related marks, images and symbols are the exclusive properties and trademarks of Research In Motion Limited. RIM, Research In Motion, ‘Always On, Always Connected’ and BlackBerry are registered with the U.S. Patent and Trademark Office and may be pending or registered in other countries. All other brands, product names, company names, trademarks and service marks are the properties of their respective owners. The specifications and features contained in this document are subject to change without notice. All other brands, product names, company names, trademarks and service marks are the properties of their respective owners. Prices subject to change without notice. Research In Motion Limited presents information about third party products and services on BlackBerry Connection for your information. However, since Research In Motion Limited relies on information provided by outside sources, it makes no warranty or guarantee concerning the features, reliability or pricing of third party products or services, or their compatibility with any Research In Motion Limited products. Research In Motion Limited, 295 Phillip Street, Waterloo, Ontario, Canada N2L 3W8