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.
03-07-2009 10:39 PM
I added a new StringPattern to StringPatternRepository and noticed that the pattern match only works in plain text emails, not html emails. The pattern I am try to match is a simple text "JUNEYOUNG". After put some debug output in the findMatch function, I found out that only in plain text email that the email content is passed to findMatch function. In html format email, only the subject is passed to the function.
Could someone advice how to detect string pattern in html format email?
03-12-2009 10:09 AM
07-10-2009 10:48 AM
I have the same issue in HTML email.
8900 device v22.214.171.124 (Platform 126.96.36.199) ATT
8320 device v188.8.131.52 (Platform 184.108.40.206) TMO
I tried both example apps from:
In all cases I have to "Get Plain Text" for the patterns (5-digit numbers) to be recognized and the MenuItem to show up.
Also, should patterns also be matched/highlighted in the Browser like phone numbers are ... or is the Browser a 'special' case?
07-16-2009 10:10 AM
Is this thread dead???
Please can someone tell me if this is a bug in how the PatternRepository works or is there some way to get patterns to highlight in HTML emails.
Thanks in advance for 'any' reply!
07-24-2009 01:01 PM - edited 07-24-2009 01:02 PM
07-29-2009 03:57 PM
For performance, we don’t support third-party StringPatterns in HTML. However, some possible alternatives you could use are:
BrowserContentProviderRegistry (See BrowserPlugin sample within the JDE)
HTTPFilter (See HTTPFilterDemo sample in the JDE).
09-18-2009 02:12 PM
saziz, can you elaborate on how to use BrowserContentProvider to achieve roughly the same effect as with StringPatterns?
It appears that you would need to create a new HTML renderer just to detect clicking on links?