BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 04-13-2010, 06:27 AM   #1 (permalink)
New Member
 
Join Date: Apr 2010
Model: 8310
PIN: N/A
Carrier: 4.1.0
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Wink Scanning a specific string in ActiveRichTextField using StringPattern

Please Login to Remove!

Hi, I am a newbie in BLB development and exploring the ActiveRIchTextFIeld currently. I know that it detects strings like phone number and email by itself and inserts a menu item in the corresponding Context Menu. However, I am trying to make the field detect some specific string like a postal code in an address or any other string indicating the address.I have read that this can be done using the StringPattern or the PatternRepository.However m unable to figure out how it can be achieved. Can anyone plz give me a reference snippet for the same? Thanks in advance..
Offline  
Old 04-13-2010, 08:06 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Have you looked at the knowledgebase? There is an article with a link to a code example.

Livelink - Redirection
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

1pc Used Good Rofin SHG-MODUL 1064/532NM Q Switch by DHL EMS
$840.0
1pc Used Good Rofin SHG-MODUL 1064/532NM Q Switch by DHL EMS picturelot of 9 if these Advance Capacitors 0016-2005-0 MD2005 20uf,170VAC - old stock
$12.0
lot of 9 if these Advance Capacitors 0016-2005-0 MD2005 20uf,170VAC - old stock picture80/5 mfd 440 or 370 volt round run capacitor replacement 80+5
$34.68
80/5 mfd 440 or 370 volt round run capacitor replacement  80+5 picture1pc Used Good TYAN S2915 1207 S2915WA2NRF-E by DHL EMS
$350.0
1pc Used Good TYAN S2915 1207 S2915WA2NRF-E by DHL EMS pictureBOSTITCH AB-9067022 Capacitor
$37.94
BOSTITCH AB-9067022 Capacitor picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.