Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
11-29-2012 03:42 PM
I have a small issue -- the Message.getBodyText method is freezing when that method is called in an application that is intercepting an email going out on a device that is hooked up to a BES with PGP enabled on it. It seems that the PGP application has a lock on the Message object (or data, or something) and the call to the getBodyText is blocking, waiting for the lock to be released (or something). Does anyone have any ideas on how to work around this?
12-05-2012 07:39 PM
No stack trace. That's generally what "blocking" means. It works perfectly on BIS (meaning the debug logs -- via ALT-LGLG -- are showing correct execution), but on BES -- ONLY with messages being sent via the BES PGP program (i.e.: if the tag in the subject line turns off encryption, it works fine with intercepting the message and getting the body text) -- it blocks at the call. If you *really* want to see the source, here it is:
String messageText = message.getBodyText();
Wasn't that a useful piece of code?