Ask The Guru

Spring has sprung and so have a crop of new questions for our resident expert Guru. Got a development question on your mind? Consult the Guru. Selected questions and Guru's replies will be featured in each newsletter, so stay tuned!

Cryptic inquires:
If I encrypt the email message using the Triple DES key then how can I decrypt the message at desktop side?

Guru unlocks the solution:
The BlackBerry device will automatically encrypt email sent between it and the BlackBerry Enterprise Server. There is no need for an application to apply an additional encryption, nor would it be possible since the matching key would be stored within the BlackBerry Enterprise Server.

Simulation blues asks:
Is it possible to use a Bluetooth(r) communication with a BlackBerry device simulator?

Guru has the remedy:
You can perform Bluetooth development with the BlackBerry device simulator with the use of a Casira board, a Bluetooth hardware and software development system. The simulator does not support the use of Bluetooth connections on its own. However, you can connect an actual BlackBerry device to the BlackBerry JDE and test and debug Bluetooth applications. To do so connect the BlackBerry via a USB cable and in the BlackBerry JDE select the Debug menu, Attach To, Handheld and then select your PIN number.

Use the Bluetooth development environment with a Blackberry device simulator

  1. Open the Blackberry IDE.
  2. From the main menu, select Edit > Preferences.
  3. Select the Simulator tab.
  4. Select the Ports tab.
  5. In the Communication port type field, select the appropriate port type (see the Casira Endpoint documentation)
  6. In the Serial port field, type the port information.
  7. Click OK.

For more information, refer to BlackBerry Java Development Environment Version 4.1.0 Developer Guide.

Questions? Comments? Suggestions? Share them with us!

Research In Motion Ltd.
295 Philip Street Waterloo, Ontario Canada N2L 3W8

© 2006 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.

Developer Newsletter