Support for the PatternRepository and filtering

Hello. I am fairly new to the blackberry development.

I am writing an application to extract data of the customers of our servers for our outside sales force. I retrieve a page dynamically formatted behind our firewall and display using basic procedures in the HTTP demo. My next step is to perform the filtering so that they could click on a phone number to call the customer or an e-mail address to send an email.  It works in bed in the messages application.

I changed the _content of an ActiveRichTextField field and followed the ActiveTextFieldsDemo model to match a standard American phone number. However, when I run in the simulator of my phone number is not recognized, BUT it is picking up the address and offering to 'Add to Contacts', "View on Map" or "Navigate To Here."

It seems the phone and e-mail patterns are probably already registered (since they work in Messages). In all cases, they lie.  Is it because the system will only match the first boss found in a field? (All data is in the area of the lone _content.)

Any ideas would be greatly appreciated.

I got it.  The ActiveTextFieldsDemo did some tests of the args to save the regex at the start of the device. I was never there happen. I did away with that and it works fine now.

Public Shared Sub main (String [] args)
{
_menuItems [0] = phoneItem;
  
ApplicationDescriptor appDesc = new ApplicationDescriptor (ApplicationDescriptor.currentApplicationDescriptor (), "Active text fields", new String() {"recognized cause"});
PatternRepository.addPattern (appDesc,'\\(?\\d{3}\\)? [ -. ]? \\d{3}[-. ]? \\D{4} "(, PatternRepository.PATTERN_TYPE_REGULAR_EXPRESSION, _menuItems);"
  
PAP MyAppMain = new MyAppMain();
theApp.enterEventDispatcher ();
}

Tags: BlackBerry Developers

Similar Questions

  • passing two values in a guest column for the display and filtering

    Hi all

    Is there a workaround solution to use two columns in a command prompt to display and the passage of the input for a prompt value in dashboard prompt value? For example we want to display the description in the command prompt, but pass the variable value or the presentation of the filter id, just as we have in bi publisher, LOV automatically enter the value both for the display and the actual value to pass to the query. Therefore, the user clicks the description and corresponding id will be stored in the variable presentation of the guest of.

    Thank you

    Sushil

    Published by: 872073 on April 5, 2013 11:06

    Check this box
    http://www.rittmanmead.com/2010/08/Oracle-BI-EE-11g-handling-double-columns-iddescription-interoperability/

  • The BDV-E580 Netflix app will be always updated to include support for the profile and the new interface of Netflix?

    I had my BDV-E580 for about I would say 2 years now, I don't plan on obtaining a new player Blu - Ray any time soon, because the surround speakers work fine with it, but I'm a little sad that I didn't get the support profile or the most recent software updates with Netflix interface , I recently noticed the icon has changed to the new red on white logo of Netflix, but it would be great if you (Sony) could support at least update the Netflix app for my and other devices.

    You can share your application at the 'join the Inspiration"community of Sony. Comments or suggestions that you would like to post there would be much appreciated.

  • Where can I download the latest version of the Apple support for boot camp and Windows-10 64-bit software?

    Where can I download the latest version of the Apple support for boot camp and Windows-10 64-bit software?

    give me the link?

    I need the latest package driver.

    -Thank you

    Please use BC Assistant.

  • Double charged for the service and support will not help!  Can you?

    Anyone know the secret to get a real person on the phone at Adobe?  These cat overseas representatives are not cut it!  I have a detailed transcript of a chat where the rep has no idea and can't even articulate their responses well enough to be called support. My problem is simple:

    Last month, Adobe somehow has not received my automatic membership via PayPal payment, even if the PayPal transaction has been completed, and the funds have been removed and delivered (I have documentation that Adobe don't want to watch).

    I used the support available to me - a poor attempt at a service of cat - nothing works.  The representative was informed of the situation and proceeded to charge me for the service once again, even though I told them I had already been charged, and it was a mistake on their part.  Now I have an another $49.99 charge on my account.  So that re - activate my subscription, it wasn't what I asked.  When I contacted PayPal about this, their response was to cancel my subscription, completely, but still no refund my second count (they also have a system of foreign aid, under normal)...  Now, I'm in the 'warning' of 30 days period before my service is completely turned off and not sure if I want to trust Adobe to my money, once again.  I contacted my bank - that should be a last resort, but I guess that is where I am, now.  They are willing to work with me, because I can pick up the phone and explain the situation to them.  Why I can't do this with Adobe?

    My last option is to take advantage of free legal assistance for my company and sue Adobe for $49.99, which seems silly, until you realize that it's free, and Disney has AMAZING lawyers at our disposal.  Is this really necessary?  Why am I put through so much aggravation due to the error of Adobe?  If I return, I would expect compensation for my trouble.  At least a few months of free service for the overload and my months of unrest.  Otherwise, affinity looking really tempting...

    Hello

    Please see Contact Support FAQ: impossible to reach support via the link "Contact us"

    Hope that helps!

    Kind regards

    Sheena

  • I allowed to CS2, I contact Adobe support for new link and new key for the new facility for the computer updated. In the installation, I have inserted the key from ADobe that I got Adobe support, but when I open programms CS2 it will not work and gives me

    I allowed to CS2, I contact Adobe support for new link and new key for the new facility for the computer updated. In the installation, I have inserted the key from ADobe that I got Adobe support, but when I opened any CS2 program it will not work and gives me the invalid key error. What should do?

    CS2: Error: unavailable activation server | CS2, Acrobat 7, hearing 3 -.

    l http://helpx.adobe.com/x-productkb/Policy-Pricing/Creative-Suite-2-activation-end-Life.htm

    https://helpx.Adobe.com/Creative-Suite/KB/CS2-product-downloads.html

  • Can you please put me in touch with support for the trial version of adobe acrobat pro XI that I had tried on 15 March for 30 days. I tried to cancel because the cost is too, and Acrobat Reader are good for me. I can't uninstall program.

    Can you please put me in touch with support for the trial version of adobe acrobat pro XI that I had tried on 15 March for 30 days. I tried to cancel because the cost is too, and Acrobat Reader are good for me. I can't uninstall program.

    I had to wipe my drive since then with the trouble with Apple Store without acknowledging my machine and Time Machine reloading gave complications. Can you please cancel my trial and make my money from trial.

    Hi jack gordon.

    Adobe does not charge for the 30 day trial, but it seems that you have subscribed to Acrobat Pro (as a simple app for creative cloud membership) return March 15. To cancel your subscription, please contact customer service.

    Please let us know if you have any additional questions.

    Best,

    Sara

  • How can I add a separate apple for the iphone and ipad wife id

    How can I add a separate apple for the iphone and ipad wife id

    Hi, are the measures already implemented? If they are, you need to configure them again and establish a Apple ID at this time.

    Apple ID - Support official Apple

  • Where can I find detailed, systematic support for the advanced Thunderbird related topics?

    In moving from XP to Windows 7, I opted for Thunderbird as a mail client in order to circumvent hyper intrusive Windows Live Mail to Microsoft (I used Outlook Express for years).

    I have a very complicated E-mail structure, and it took me weeks (seriously) to learn how to reproduce it in TBird. Now, I try to customize TBird more, but none of the TBird articles/forum Q & A / searches on Google to ask my questions.

    There is no support direct tech TBird, and I'm almost ready to leave for good. However - a last effort: where can I find detailed, systematic support for the advanced Thunderbird related topics?

    Thank you.

    https://www.flossmanuals.NET/Thunderbird/

  • My iPhone 4 stopped working yesterday, it frustrated me because I just a call, I intended to take it to get it fixed, but my sister advised I check the support of the community and guess what? It worked! Am so excited, that I followed the instructions of

    My iPhone 4 stopped working yesterday, it frustrated me because I just a call, I intended to take it to get it fixed, but my sister advised I check the support of the community and guess what? It worked! Am so excited, I followed the instructions of the Mac, I pressed the Start button and the button operation at the same time and the magic took place, am so so excited. THANK YOU MAC!

    Glad that your phone is working again.

    What you were doing by pressing the button home and sleep for 10 seconds, until the Apple logo came back, is called "force restart '.

    You won't lose data by doing this, but it can cure a few glitches. It is usually the last thing to try before you restore the phone to factory again or visit an Apple Retail Store or Apple authorized service provider, where your phone does not at all.

    If your iPhone is not responding or won't turn on - Apple Support

  • Is there an online community which deals with promotion within the Fed/DoD IT apple? Currently, I work for the NAVY and a nightmare HP NMCI. Thank you.

    It was more of a general question asking management and online community eventually the federal and/or DoD workers who might be unhappy with the current situation of technology of the federal workforce and so therefore could discuss, share and work information to try to improve this situation. Thank you.

    edhazelwood wrote:

    It was more of a general question asking management and online community eventually the federal and/or DoD workers who might be unhappy with the current situation of technology of the federal workforce and so therefore could discuss, share and work information to try to improve this situation. Thank you.

    «I currently work for the NAVY and a nightmare HP NMCI.»

    If you are now looking for a Mac NMCI nightmare? Evolution towards a Mac environment will do nothing to improve the NMCI environment.

    Why don't do you a Google search or speak to your personal COMPUTING support to discuss your NMCI questions? These forums are to help users of the Apple/Mac product with Apple/Mac product questions.

  • Support for LabVIEW 2014 and CanOPEN cRIO-9067

    Hello

    We have NEITHER 9881 CANOpen communication module and cRIO-9067.

    According to the NI 9881 product description page the module should work with cRIO-9067. However, does not support the latest NOR-Industrial Communications for CANopen 1.0.3 2014 LabVIEW and NI RIO 14.0. This means that we cannot use cRIO-9067, can we? If so, when the next version of the pilot will be available? It will work with the cRIO-9030?

    Thank you in advance,

    Nikita.

    Hi Nikita,

    I wanted to let you know that support for the cRIO-9067 is available: http://www.ni.com/download/ni-industrial-communications-for-canopen-14.5/5234/en/

    Thank you!

  • I used to have demand for the library and messenger live but its all parties.

    I used to have demand for the library and messenger live but its all parties.

    I tried to reinstall them like the way that several times, but they said that I already have when I don't have them. What should I do?

    Hello

    1. did you of recent changes on the computer?

    2 are you referring to Windows live essentials?

    I suggest that you uninstall the programs on the computer and try to reinstall the latest version, check if it works.

    How to remove and reinstall Windows Live Services

    http://support.Microsoft.com/kb/938275

    If the previous step fails, then you can post your request in the forums of Windows live.

    http://windowslivehelp.com/

  • Update error... I tried to update for the month and each time it fails

    I tried to perform updates for the month and each time it fails.  I get the same error message... Code 646 WIndows has encountered an unknown error.  I did troubleshooting and you are unable to find assistance.  I don't know much about the workings of the computer, but I know that I should be able to perform these updates.  I think I need it too.  I have 9 at this stage that it cannot load.  Help, please!

    I tried to perform updates for the month and each time it fails.  I get the same error message... Code 646 WIndows has encountered an unknown error.  I did troubleshooting and you are unable to find assistance.  I don't know much about the workings of the computer, but I know that I should be able to perform these updates.  I think I need it too.  I have 9 at this stage that it cannot load.  Help, please!

    This link leads to a response from Bobby Mi, moderator.
    Date: July 6, 2010
    http://social.answers.Microsoft.com/forums/en-us/vistawu/thread/18449f60-C149-4EAF-B8E6-a2880cd7232b

    Bobby Mi response will lead to this tutorial from Microsoft Support:
    http://support.Microsoft.com/kb/2258121

    Hope this can help solve your problem.
    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • Recently, I changed the password for the administrator and I forgot what it was.

    original title: password__ administrator

    Recently, I changed the password for the administrator and I forgot what it was. The profile of my son is set to standard, and I can't access anything whatsoever. I don't have another administrator account to change the password again. I have created a disk to reset password on the profile of my son and I'm going to change the password on the account and it will allow me to do to change the password, and then it pops up with an error, when I'm finished. I also tried to activate the net user administrator safe mode and it appears with and error 5 on that. Can someone help me please.

    Hello

    Unfortunately, it's in the code of conduct for these forums to help users to circumvent passwords and security settings. You will need to remember the password or reinstall.

    Good luck, Rick Rogers, aka "Crazy" - Microsoft MVP http://mvp.support.microsoft.com Windows help - www.rickrogers.org

Maybe you are looking for