How is email2 and phonebook contact mobile2

Hello

Does anyone know how to get email2 and mobile2 of telephone directory. The BlackBerryContact class does not have a constant (like BlackBerryContact.EMAIL) to email2 and mobile2.

Thank you

-gmuhammad.

if (contacts.isSupportedField(BlackBerryContact.EMAIL)) {
         try {
             if (contact.countValues(BlackBerryContact.EMAIL) > 0){
                 email1 = contact.getString(BlackBerryContact.EMAIL, 0);
                 System.out.println("Email1 " + email1);
                 }
             if (contact.countValues(BlackBerryContact.EMAIL) > 1){
                 email2 = contact.getString(BlackBerryContact.EMAIL, 1);
                 System.out.println("Email2 " + email2);
                }
         } catch (Exception e) {
             System.out.println("Exception::" + e.getMessage());
         }
     }

Tags: BlackBerry Developers

Similar Questions

  • Windows Live Mail. Import and export contacts.

    I can't find help on how to import and export contacts.   When you open Contacts in WLM and go to the Home tab, there are icons 'Import' and 'export '.

    You can be and how they are used.     My main goal is to save my contact list.   If I export my contacts list, where it's going and how I get the list?

    If export you it, it exports to a text file that you can save anywhere you like.  On your computer, or safer: on a Flash drive, another drive, or even online in the cloud.

    If you need it (get a new computer, your breaks down, is stolen or is burning upward in a fire), you can use "import" them and use this file to restore all contacts from this file.

  • I've recently updated to ElCapitan. Where I go all my contacts? And how do I retrieve my contact list?

    I've recently updated to ElCapitan. Where I go all my contacts? And how do I retrieve my contact list?

    You have a Time Machine backup?

    If you do, restore from it.

    If there is an archived version, restore it from iCloud.

    Section: Restoration of your contacts.

    https://support.Apple.com/kb/PH22730?viewlocale=en_US & local = en_US

  • has dropped iPhone 5s in water with screen cracked how can I recover my contacts and photos on my macbook?

    dropped my iPhone 5s in the water with a cracked screen it still rings etc. but can't see screen how can I recover my contacts and photos on my macbook

    If you have an iTunes backup - you can restore on a new phone

    If your photos and your contacts are synchronized on iCloud - you should be able to see by logging iCloud.com

    If you have never backed up your phone - your content may be lost

  • How can I get my contacts and all the other stuff I had on the old email?

    Original title: I changed my email because they said my old email was invalid... How can I get my contacts and all the other stuff I had on the old email? They said, it has been deleted

    If my email isn't valid how I used it?

    Hello

    1. which email account you are referring to?

    2. What is the version of Windows installed on the computer? For example, Windows 7, Vista

    Please answer these questions and provide additional information so that we can better guide you.

  • My PW has been hacked and lost all contacts, how can I get my contacts to hotmail back securly?

    My PW has been hacked and lost all contacts, how can I get my contacts to hotmail back securly?

    Hello

    Answers is a peer group supported and unfortunately has no real influence on Hotmail.

    HotMail has its own Forums, so you can ask your questions there.

    Windows Live Solution Center - HotMail - HotMail Forums Solutions
    http://windowslivehelp.com/

    Hotmail - Forums
    http://windowslivehelp.com/forums.aspx?ProductID=1

    Hotmail - Solutions
    http://windowslivehelp.com/solutions.aspx?ProductID=1

    How to contact Windows Live Hotmail Support
    http://email.about.com/od/hotmailtips/Qt/et_hotmail_supp.htm

    Windows Live Hotmail Top issues and Support information
    http://support.Microsoft.com/kb/316659/en-us

    Compromised account - access unauthorized account - how to recover your account
    http://windowslivehelp.com/solution.aspx?SolutionID=6ea0c7b3-1473-4176-b03f-145b951dcb41

    Hotmail hacked? Take these steps
    http://blogs.msdn.com/b/securitytipstalk/archive/2010/07/07/Hotmail-hacked-take-these-steps.aspx

    I hope this helps.

  • How to organize my "windows contacts" and alphabetize by family name?

    I use Vista.  "Windows contacts", I had my contact names in alphabetical order by family name.  When I downloaded Explorer 8, my contacts are now in alphabetical order by "name".  How can I change to the listed contacts and alphabetically by "last name" again?

    Hi Theodore,

    You can try the following steps and check.

    Right-click on the column header bar and select 'more' and check the option ' name'. The column is displayed. You can drag it where you want and sort upwards or downwards by clicking on the header.

    Alternatively, you can try the following steps.

    a. right click on the Contacts folder.

    b. change the display «Détails»

    c. right-click on the 'name' column header, click on "First name", then click on 'Last Name'

    d. click the title "Last Name" to sort by there.

    For more information, see the following articles:

    Organize and find contacts

    Manage your contacts

  • How to remove and reset the Contacts folder / files in Vista Windows Mail

    How can I delete the Contacts in Vista - and actually reset the folder so that windows treats the files ".contact" as - good contact and no text.

    Because what was going on, I decided to try to start from scratch - I just copied all the files in the folder of contacts to a archive and deleted all the files in the contacts folder.

    From Windows Mail - I am capable of was able to use the tool 'Add to contacts' and the Contact form (properties) dialog happens - but if I open the Contacts folder directly (Windows or Windows Mail 'button'), I get a window of the typical Explorer with a newlt created contact list (for example there are 6 in there now all created from Windows Mail) - if I try to open an existing contact - it opens in the Notepad - text - garbage.  (Same problem I had)

    I've been setting up with a Contacts folder corrupted since I bought my desktop with Vista in 2008 - I think I looked into the question of import then and there is no function of CSV to import the contacts (that I could find) - and / or the inport corrupted the file - so when I open a file of contacts I get the text of the file - it opens in Notepad - and not a Contact form.

    With more than 600 contacts in there, I didn't have to manually retype all data, but it's time to bite the bullet.

    Hello PaulJMoore,

    ·         Do you have just copied the contacts in archive and did not export them?

    ·         What is the extension of the contact files you copied?

    You should try to reset the contacts folder.

    1. in Windows Explorer, navigate to the folder C:\Users\(user name) \Contacts.

    2. right click on an empty space in the main pane of the middle of the window and click Customize this folder.

    3. under the type of folder do you want, click the arrow next to the model list drop-down list.

    4. click on Contacts to select.

    NOTE: Check apply also this template to all subfolders if you want to change all subfolders in the Contacts folder to the Contacts model as well.

    5. click on OK.

    The contacts created with Windows Vista are in the format of .vlc. When you try to open them to the archived location where you saved, he would not be able to access Windows Mail to open the contacts.

    First of all try to copy all the contacts in the Contacts folder on the \Contacts C:\Users\(user name folder location).

    If this does not work, try to import all the contacts that you have saved to the location that is archived using the import option from the Windows Messaging.

    You can read this article which will give you information on how to import contacts:

    http://Windows.Microsoft.com/en-us/Windows-Vista/import-export-or-change-the-format-for-contacts

    Thank you
    Irfan H, Engineer Support Microsoft Answers. Visit our Microsoft answers feedback Forum and let us know what you think.

  • Only, I want to reactivate my 8.1 and won't need an investigation wishes to contact Adobe. Do you know how much time and money it costs to me?

    Only, I want to reactivate my 8.1 and won't need to investigate how to contact Adobe. Do you know how much time and money it costs to me?

    Moving to download, installation, setting up

    Please check the help below document:

    Quickly find your serial number

    In the case of the volume license product, please visit: site Web of Adobe License | Serial numbers | Orders | Accounts

  • I lost my Skype contacts when I detached and linked to my account of Ms. How can I restore my contacts?

    Recently, I posted and linked to my MS account for the unknown problem of 'conversation', but that leads to a problem even more serious where I lost all of my Skype contacts.

    I have experienced support and there is no solution, they can give me. They did a restore of my supposed deleted contacts, but that did not help. They can't check if a Skype name that I provide figure in the restored list. The proposed support is to search and add contacts. I tried with only 3 and I dropped, every name has like 30 entries and 5 of them seemed to be possible contacts.

    All the world faced this problem before and managed to resolve it?

    I thought that I would lose my MSN contacts, has ended until I lose my Skype contacts. Blows my mind when linking and disassociate an external set of contacts delete contacts from the original application. This whole experience is the worst ever using software.

    But thanks for the clarification, at least it puts a closure to my trip, search for solutions.

  • How can I keep separate outlook and facebook contacts

    I don't want my facebook and outlook contacts combined. What is the best practice to achieve this?

    OK, so you want to not see the Facebook contacts on your phone or your pc?

    Whatever it is, you have two options.

    . Delete the Facebook account of the device you want to view the contacts in

    OR

    . Filter the Facebook contacts. They will still be accessible, but does not appear with the others in the people app.

  • How can I add a contact in my address book?

    The address book is totally useless to me if I can't add people to it. There is currently no way to do and no place to go for instructions. Can someone please send comprehensible instructions on how to find and then open my personal address book or the address book and then collected it please tell me what's the difference between them? It is VERY non-intuitive.

    Open the address book window.
    You have a directory pane list down the left margin with your listed books?
    If this is not the case, the menu bar, select View-Layout-directory pane.

    In the directory pane, you can select the folder for one of your books.

    To add a contact press on the new Contact button and fill in the form.

    If you want to add a contact from an e-mail that you received, you need to work from the header of the Message or message open in a tab pane.
    When you view the header of a received message, there will be a star to the right of the address of the sender. If the star is filled with color the contact is already in one of your books. Clicking on a star not filled it will add to the personal address book
    By clicking on a color filled with stars will open the edit contact dialog box where you can add details to the contact or change the book it is saved in.
    This isn't the same star to the left of the subject line of message in the Inbox.

    The two default address books are staff and collected books.
    The personal book is for contacts you add and use it as the main book.
    The collected book collecting the addresses of people you send an email to.

    You can move contacts from one book to the other drag-and - drop contact.

    There is what is called the Contact side bar that sits in the window of writing. If yours does not appear when you open a window writing press F9 to switch on.
    From the sidebar of Contact you can add contacts to your e-mail.
    You can double-click a contact to add to an address field.
    You can drag and drop a contact to an address field.
    If you add more than one contact to an e-mail you hold down the CTRL key while clicking on all of the contacts you want and then use one to add it to: buttons at the bottom of the sidebar.

    You can also start a contact by typing in one of the address fields and Thunderbird will offer suggestions to your address books. This method has been a bit buggy in the latest versions so watch this closely to ensure that you get the contact that you thought that you have selected.

  • How can I synchronize my contacts on all my devices

    How do I share my contacts on all my devices list

    One way is via iCloud.

    On iOS devices: settings > iCloud > Contacts on

    On Mac computers: Apple menu > System Preferences > iCloud > Contacts on

    On Windows computers, see define and use iCloud for Windows - Apple Support

  • How to enter a foreign contact in the address book?

    How to enter a foreign contact in the address book?

    Hello

    How can I enter an alien contact in the address book, without affecting other household contacts?

    I'll card > add field > model > General and change in the country, but it acts on all contacts. How can I do so selectively?

    I think you're overthinking this.

    There is an entry for the country to each address, so all you need to do is fill it out if necessary.

    I'm in Portugal, while most of the addresses mentioned no country, which means that they are national. My daughter lives in the United Kingdom, so his speech looks like this:

    That's all.

  • How to remove the support contact at screenshot using the "home" button

    guys, please help, how to remove the support contact at screenshot using the "home" button? I use 6 s ios 9.2, but when I take screenshot with the menu help key, the help key disappear on my photo, but the problem is, I want to take screenshot with my home button, please help... Thank you

    What turned the problem into a screen with the home button? Quickly, you press the power off button and home together and release - if the sounds are enabled - you should hear the camera shutter sound and have the capture in your app screen shots. The help key is not displayed

Maybe you are looking for

  • HP Z600, Z800: no HP Z600 or Z800 support PCIe SSD

    Hi guys I am a engineering student and a graphic designer, so I need a job to do my job. in fact, I'm a big fan of Apple Mac but Mac Pro purchase will cost me more so I decided to go with the HP solution I gan get used HP Z600 or Z800 and customize t

  • Re: Atheros LAN Driver preventing Windows from closing! Help!

    Hello I've owned a Toshiba Satellite L655-1HC for 6 months now and have always faced this problem where if I stop or restart my computer, it'll just say disconnect then stop, then the circle of rotation would just freeze and the laptop will never res

  • DLL and global variables

    OK, here's a strange problem.  I am very new to create the dll, so I don't know that I have just an installation problem. But I'm trying to pass a global variable of a host program to its attached DLL.  I got this job when I was the CVI 2014. I recen

  • Error: installation of framework 4.0

    6.0.6001 = OS version, platform 2, Service Pack 1Description of the OS = Vista - x 86 Home Premium Edition Service Pack 1 CommandLine = C:\c07bb8b196ca137133\\Setup.exe x 86 x 64= Time zone GMTInitial LCID = 2057 The simultaneous use of download and

  • How to stop the connectivity between two computers that use the same IP address... ?

    Today, I managed to connect two computers with the same IP address. But now it is to be feared. for example, a person can access my computers using my IP and MAC address. So now, how can I stop the connectivity between these two computers. should wha