Address Book lookup

I have a feature request for at least the nseries phones(but not only).
In case of an incoming call the phone match only the last 7 digits of the phone number from the Address Book. As a result it can show a wrong name association to the incoming CLI. If the phone can match up to 9 digits then it solves the problem.
Thank you.
Solved!
Go to Solution.

This isn't a direct line of communication to Nokia, if you want to make suggestions / provide feedback, then you should use the online form through the "Contact us" link at the top of the page...
If you want to suggest a new idea, you should email [email protected]
Nokia History: 3110, 5110, 7110, 7110, 3510i, 6210, 6310i, 5210, 6100, 6610, 7250, 7250i, 6650, 6230, 6230i, 6260, N70, N70, 5300, N95, N95, E71, E72
Android History: HTC Desire, SE Xperia Arc, HTC Sensation, Sensation XE, One X+, Google Nexus 5

Similar Messages

  • Address Book Lookup behaving strangely

    I am having a minor problem with my Address Book. Some but not all of the entries will not look up by first name. When I start typing a name, for example "John" to find John Smith, it can't find the contact. John Smith is in the address book, and it finds him if I type in "Smith". It would be one thing if it was not letting me look up any contacts by first name, but it is only doing it on about a third of them. I assumed that maybe there was something funny going on with the particular entries, but going in to edit the address book entries, I can find no difference between the ones that don't work and the ones that do. This is very odd.
    A relevant factor may be that it only started doing this after I installed Google Sync on my phone and synced my address book with my Google Contacts.
    Any ideas what might be causing this problem and/or how I can fix it? Any insight would be greatly appreciated.
    Thanks--T 

    Hi and welcome to the forums!
    Go to contacts, options/ general options and make sure you have sort by: first/last name
    whichever you would like.
    Then do this, no data will be lost when doing the following: pull the battery while the device is ON. Replace after a minute, Let the device reboot 1-3 min, see if the problem is fixed.
    Thanks,
    Bifocals
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • Global address book lookup

    At one time, I could copy and paste a list of names into an email and Outlook would lookup each one in the global addressbook.  That function doesn't work well like it did before. Now, each name causes the "Check Names" pop-up to occur with
    "No suggestions".  I must scroll up to find and select the correct address.  Most addresses match exactly so I'm not sure why these aren't found as valid and prompts me.
    Is there some default setting that got messed up that would fix this if corrected?

    Hi,
    The Auto-Complete List is a feature which displays suggestions for names and e-mail addresses as you begin to type them in Outlook. Please make sure the Auto-Complete List name suggestion is turned on in your Outlook:
    1.Click the File tab.
    2.Click Options.
    3.Click Mail.
    4.Under Send messages, select the Use Auto-Complete List to suggest names when typing in the To, Cc and Bcc lines check box.
    Please type part of the name or address and then press the Check Names button manually on the Toolbar or Ribbon or press its keyboard shortcut (for most localized versions this is CTRL+K) to check whether the “no suggestion” is still shown
    or not. Please also check this in Outlook Online mode.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Getting Email Address from address book

    Hi,
    I'm having some problems in GroupWise 6 which I'd appreciate some help
    with.
    I'm trying to search an address book for an email address based on the
    "from" name in a newly created email, where the address book name format
    is "LastName, FirstName". I've tried a number of approaches, none of which
    seems to work, as I shall describe below.
    1. I get the displayed name in the "from" textbox of the mail by executing
    ItemGetText. Now, regardless of the address book name format, the name I
    receive is in the format "FirstName LastName" (eg "Dave Smith"). When I
    then execute AddressBookResolveFullName on this display name, I am
    returned "Token Execution Failed" presumably because the address book
    lookup is expecting a name in the format "Smith, Dave" (incidentally, the
    same code works fine when the address book name format is set to
    "FirstName LastName").
    2. As an alternative approach, I get the current UserID by executing
    EnvUserId. This gives me a UserId in a format such as
    [email protected]. I then execute AddressBookGetFullName in the
    expectation of being given the display name (hopefully in "LastName,
    FirstName format"), which I could then use in executing
    AddressBookResolveFullName. However, AddressBookGetFullName also returns
    "TokenExecutionFailed". This may be due to the format of the UserID I am
    using not matching what is expected by AddressBookGetFullName. I'm not
    entirely clear in my mind about the different formats that can be returned
    by EnvUserId, nor how the fields in the UserID map onto the format
    expected by AddressBookResolveFullName.
    So, Id greatly appreciated answers to the following questions:
    1. Why does AddressBookResolveFullName fail when I use the name as it
    appears in the "from" text box?
    2. Why does the name in the "from" text box not match the name format
    defined by the address book? After all, any name I enter in the "To" field
    must be in the correct format.
    3. Is there any way of converting a name from "FirstName LastName" to
    "LastName, FirstName" other than writing code to parse the name for a
    comma and switching the names myself? To have to do this seems to me like
    asking for trouble.
    4. Can I use the UserID returned from EnvUserId when executing
    AddressBookGetFullName?
    5. Will the name returned by AddressBookGetFullName be in "LastName,
    FirstName" format?
    6. Or am I missing a much simpler solution to this problem?!
    Thanks in advance,
    Phil.

    [email protected] (magicmonkeyjuice) wrote in
    news:[email protected]:
    > Hi,
    >
    > I'm having some problems in GroupWise 6 which I'd appreciate some help
    > with.
    >
    > I'm trying to search an address book for an email address based on the
    > "from" name in a newly created email, where the address book name
    > format is "LastName, FirstName". I've tried a number of approaches,
    > none of which seems to work, as I shall describe below.
    >
    > 1. I get the displayed name in the "from" textbox of the mail by
    > executing ItemGetText. Now, regardless of the address book name
    > format, the name I receive is in the format "FirstName LastName" (eg
    > "Dave Smith"). When I then execute AddressBookResolveFullName on this
    > display name, I am returned "Token Execution Failed" presumably
    > because the address book lookup is expecting a name in the format
    > "Smith, Dave" (incidentally, the same code works fine when the address
    > book name format is set to "FirstName LastName").
    >
    > 2. As an alternative approach, I get the current UserID by executing
    > EnvUserId. This gives me a UserId in a format such as
    > [email protected]. I then execute AddressBookGetFullName in
    > the expectation of being given the display name (hopefully in
    > "LastName, FirstName format"), which I could then use in executing
    > AddressBookResolveFullName. However, AddressBookGetFullName also
    > returns "TokenExecutionFailed". This may be due to the format of the
    > UserID I am using not matching what is expected by
    > AddressBookGetFullName. I'm not entirely clear in my mind about the
    > different formats that can be returned by EnvUserId, nor how the
    > fields in the UserID map onto the format expected by
    > AddressBookResolveFullName.
    >
    > So, Id greatly appreciated answers to the following questions:
    >
    > 1. Why does AddressBookResolveFullName fail when I use the name as it
    > appears in the "from" text box?
    >
    > 2. Why does the name in the "from" text box not match the name format
    > defined by the address book? After all, any name I enter in the "To"
    > field must be in the correct format.
    >
    > 3. Is there any way of converting a name from "FirstName LastName" to
    > "LastName, FirstName" other than writing code to parse the name for a
    > comma and switching the names myself? To have to do this seems to me
    > like asking for trouble.
    >
    > 4. Can I use the UserID returned from EnvUserId when executing
    > AddressBookGetFullName?
    >
    > 5. Will the name returned by AddressBookGetFullName be in "LastName,
    > FirstName" format?
    >
    > 6. Or am I missing a much simpler solution to this problem?!
    >
    > Thanks in advance,
    >
    > Phil.
    >
    >
    >
    I'm sorry to say that I have never made this work and have always
    recreated the email address. For some reason, getting the email address
    out of GW requires hitting the directory, and not the GW database with
    any exposed API
    Regards,
    Michael Risch
    Developer SysOp 3

  • TB on new Windows 8.1 computer won't lookup names from address book

    The computer came with Windows 8 and TB worked fine. After upgrading to Windows 8.1 Update, I had to reload the address book from an old Outlook Express system under Windows XP. Now the address lookup isn't happening when I create a new email.

    I should add that I am trying to get the autofill function working but all that happens is that characters appear in red as I type in the email address until the complete address is typed.

  • Setting Up a Shared Address Book

    Hello, and thank you for taking a look at my question.
    I concur with the many people on this forum who are amazed how frustratingly difficult it is to setup a shared Address Book. I have a small office network of 4 users (all running the latest Snow Leopard) connected to a Mac Pro running the most current Snow Leopard Server.
    This forum did lead me to 2 good articles on the subject:
    http://osxupgrade.com/create-a-global-address-book-with-mac-os-x-snow-leopard-se rver/456/
    http://translate.google.com/translate?js=y&prev=_t&hl=en&ie=UTF-8&layout=1&eotf= 1&u=http%3A%2F%2Fsupport.osxplain.de%2Fcontent%2F4%2F1%2Fde%2Fgruppenkontakte.ht ml&sl=de&tl=en
    I followed them carefully and created my new Group in Workgroup Manager which I then populated with the users in my office.
    I then tried to configure Address Book at the client's iMac. I couldn't get Address Book to 'see' the server.
    There are 2 areas I may have got wrong and I would be very grateful for some advice/guidance please:
    On the client Mac, how can I check the fully qualified address of my server to ensure I am entering the correct address in the Address Book Wizard when creating the new account (can I not use the static IP address of the server)?
    On the server, I have created, and started, the Address Book Server service. What should I enter in the Authentication > Host Name please? The manual says "It should be a fully qualified domain name matched with a reverse lookup record". How can I check I have got this correct?
    Sorry for the obvious questions but it's all new to me.
    Many thanks
    Chris

    On the client Mac, how can I check the fully qualified address of my server to ensure I am entering the correct address in the >Address Book Wizard when creating the new account (can I not use the static IP address of the server)?
    Open the Terminal window on your client Mac and type *dig [name of your server]* and check that it returns the IP address of your server. Then type *dig -x [ip address of your server] and check it returns the name of your server e.g. server.domain.com
    This will show you what your client Mac thinks you server is.
    Do the same on the server and it should match. If not then you may have a problem. Here is an example.
    *dig server.bumfodder.com*
    ; <<>> DiG 9.6.0-APPLE-P2 <<>> server.bumfodder.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49014
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    ;; QUESTION SECTION:
    ;server.bumfodder.com. IN A
    ;; ANSWER SECTION:
    server.bumfodder.com. 37694 IN A 95.130.103.213
    ;; Query time: 11 msec
    ;; SERVER: 192.168.0.1#53(192.168.0.1)
    ;; WHEN: Mon Sep 20 07:46:43 2010
    ;; MSG SIZE rcvd: 54
    *dig -x 95.130.103.213*
    ; <<>> DiG 9.6.0-APPLE-P2 <<>> -x 95.130.103.213
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25816
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    ;; QUESTION SECTION:
    ;213.103.130.95.in-addr.arpa. IN PTR
    ;; ANSWER SECTION:
    213.103.130.95.in-addr.arpa. 38400 IN PTR server.bumfodder.com.
    ;; Query time: 36 msec
    ;; SERVER: 192.168.0.1#53(192.168.0.1)
    ;; WHEN: Mon Sep 20 07:47:46 2010
    ;; MSG SIZE rcvd: 79
    <div class="jive-quote">On the server, I have created, and started, the Address Book Server service. What should I enter in the Authentication > >Host Name please? The manual says "It should be a fully qualified domain name matched with a reverse lookup record". >How can I check I have got this correct?
    In the above example - you would put server.bumfodder.com

  • Best Solutions For Offline Address Book on Workstations Not Updating Frequently Enough?

    We use Exchange 2010 SP2 and we set Outlook 2010 to Exchange Cached mode by default for all workstations.  This seems to work OK for the majority of email most of the time, but because we are very frequently adding and removing external mail contacts
    and and adding and removing them from distribution lists, the GAL and  distribution lists memberships are frequently out of date in the middle of the work day.  
    Sometimes the users can manually download an updated OAB assuming it has been updated on the server, but sometimes the OAB is not updated yet and redownloading the OAB solves nothing.  It is a lot of hassle, confusion  about bounced messages and
    missing contacts and phantom names in distribution lists with this method.
    I notice that for mail contacts, there is an All Contacts address book that is live, but it does not include include anything else other than contact addresses.  Distribution List memberships are still out of date until the OAB is updated on the server
    and then downloaded to the Outlook client.  This is taking too long.
    Is there a keyboard shortcut to force the client to do a GAL address lookup in online mode rather than using the cached OAB?
    Can Outlook display both an online and offline address book for the GAL and let the user manually select online version of the GAL if a contact or new mailbox or DL has not synced to the OAB yet?
    If we set the registry key to force online address books even when Outlook is in cached Exchange mode, is there any performance downside for PCs on the LAN other than the GAL being unavailable when the network is not available?
    Would the Exchange server have a significantly higher load if most PCs were accessing the GAL without an OAB cache?
    If we should not expect a significant increase in server load or network traffic, we might set desktops to use online access to the GAL and only laptops to use OAB.

    Hi,
    If users are accessing the GAL without OAB cache, definitely it will increase in server load and network traffic. If you are in cached mode, one suggestion is to define that in Send/Receive Settings:
    Go to Send/Receive Groups -> Define Send/Receive Groups
    -> Select the account and Edit -> Select
    Include the selected account in this group, and check Download offline address book -> Click
    OK -> Go back to Send/Receive Groups, select the frequency for automatic send/receive(Schedule an automatic send/receive every x minutes.), and then close.
    I hope this setting can help in your scenario.
    Regards,
    Melon Chen
    TechNet Community Support

  • Can I add external Internet users to my Global Address Book?

    We have a semi permanent relationship with another company. We have Groupwise 7.02hp1a and they use Exchange 2007 or 2010(not sure which). They have added many of my people's Internet Addresses they normally deal with here into their Global Address Book(whatever they call it in Exchange). I would like to add in the Internet address of thirty or so of their people into our Global address list for a couple of reasons.
    1. My people have Blackberries and they could just type in Bob Smith, do a lookup and send to him. Similarly it would be there on their desktop address list as well.
    2. I could include them in system-wide email distribution lists where applicable.
    3. In the event someone quits, is terminated or swaps jobs, I could make one global change.
    I thought maybe adding a new external entity instead of user, but while that shows up in our addr. list, I can't point it to an internet account. Licensing cost is not a problem so I tried giving one of them a full mailbox at my place and then have a rule fwd all to the outside addr. but it looks sloppy and it is hard to hold conversations because the fwd mailbox is in the sender spot rather than the original sender so reply doesn't work. They have done this on their exchange system so I imagine there is a way on ours as well. Thanks for any help you can give.

    OTScon wrote:
    >
    > We have a semi permanent relationship with another company. We have
    > Groupwise 7.02hp1a and they use Exchange 2007 or 2010(not sure
    > which). They have added many of my people's Internet Addresses they
    > normally deal with here into their Global Address Book(whatever they
    > call it in Exchange). I would like to add in the Internet address of
    > thirty or so of their people into our Global address list for a
    > couple of reasons. 1. My people have Blackberries and they could
    > just type in Bob Smith, do a lookup and send to him. Similarly it
    > would be there on their desktop address list as well.
    > 2. I could include them in system-wide email distribution lists where
    > applicable.
    > 3. In the event someone quits, is terminated or swaps jobs, I could
    > make one global change.
    >
    > I thought maybe adding a new external entity instead of user, but
    > while that shows up in our addr. list, I can't point it to an internet
    > account. Licensing cost is not a problem so I tried giving one of
    > them a full mailbox at my place and then have a rule fwd all to the
    > outside addr. but it looks sloppy and it is hard to hold
    > conversations because the fwd mailbox is in the sender spot rather
    > than the original sender so reply doesn't work. They have done this
    > on their exchange system so I imagine there is a way on ours as well.
    > Thanks for any help you can give.
    Create an external domain and post office in which you add these users.
    The'll just appear in your global address book.
    Cheers,
    Edward

  • Creating a drop down to add customer address from Address book in numbers 0

    Hi fellow Mac people,
    I have a numbers invoice created and want to be able to add my customers addresses from address book using a drop down menu or just have it retrieve the info from address book
    Anyone know how to do this
    Any help would be great
    Thanks
    Rob

    You can drag an entry from the address book into a table in a Numbers document. Numbers does not have a way to do add contact information via a drop down menu. The table you drag the contact(s) into should have column headings for each item you want (name, address, phone, etc) as explained in the User's Manual.
    What you could do is create a table for all of your customer contact information. Every customer would be in the table. You could use then one of the LOOKUP functions or a popup menu to chose a particular contact from the table and transfer it to where you want it (such as on an invoice or an estimate or whatever other tables you have in your document).

  • Mail hangs sending an email, with attachment, to some Address Book entries

    I have just upgraded to Snow Leopard.
    Mail hangs when I send an email (with an attachment) to some contacts in my Address Book. If there isn't an attachment then it works fine.
    If I type in their full email address (i.e. not their name) into the To: field, it sends it just fine.
    Any suggestions please?

    I am seeing the same thing with SL but without an attachment. If I create a new email and type an email address in the To field then either hit tab or enter the programs freezes for around 8 seconds.
    I wonder if it is trying to lookup/verify the address with an external server? Apple mail is attached to an Exchange 2007 server here as well as Gmail. My address book contains both local and Exchange contacts.
    For me the problem seems to be intermittent.
    Message was edited by: DylanPenhale

  • Bug in Snow Leopard Address Book

    Apple had an incredible feature in Leopard's Address Book which is now MISSING in Snow Leopard's Address Book. This must be a bug, since it seems unlikely that Apple would choose to remove this.
    Let's say you have 15 contacts named "Michael" in your Address Book, and you lookup one of them all the time in your Address Book.. that is your most frequently called "Michael".
    In Leopard's Address Book, it would REMEMBER the most recent contacts that you looked up for any search criteria, so as soon as you started typing "Michael", it would take you right to your most-recently-looked-up "Michael"!
    But in Snow Leopard, you are out of luck!
    Whenever you type in the name "Michael", Snow Leopard's Address Book ALWAYS takes you to the very first "Michael" card alphabeitcally, so you then have to MANUALLY choose the "Michael" you want to see.
    What used to be so convenient in Leopard is now much more of a hassle and a pain!

    Scott,
    This may not be changed in my experience, but Mail 4.x must likely relearn this -- at least this is how I am finding it to work with auto-complete. I seldom actually look up in AB, but just start typing, so I have not had a chance to establish any real frequency of lookup in AB. I expect it will work similarly, but then I have not used enough to confirm.
    Ernie

  • Address Book / Corporate Directory server (JES3)

    Many of our users are pop and access mail via various browsers. Switching from o=xyz.com to o=xyz.com,o=abc will require users to update their address book "search root" to the new DIT. Is there any way to configure either messaging server or directory server to reconstruct (or redirect) a request made to o=xyz.com to the new structure?

    Just wanted to let you know that I did find a solution. Using a smart referral works for this purpose, in that a lookup of o=smart_referral_domain.com allows search (and auto_completion) of user/group mail addresses in the o=x,o=y config.

  • Address book .... importing text file

    I am designing an address book which opens a text file called AddressBook.txt which reads in the information in the following format:
    lastname,firstname,street,city,state,zip,phonenumber,birthday,persontype
    lastname2,firstname2,street2,city2,state2,zip2,phonenumber2,birthday2,persontype2
    etc. (with a maximum entries of 500)
    I am having a problem reading in the information without the commas and wrapping to the next line. I can either use the BufferedReader or Scanner to input the file and as you can see below, my code is not complete yet. I can't figure out how to code the storeAddress() method in order to get the addressBookEntries[] to include the necessary information for outputting, sorting, etc. If I can get the information read into the addressBookEntries[], I think I will probably be able to proceed in the rest of the required tasks (i.e. sorting by last name, searching by last name, etc.)
    import java.awt.event.*;
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    import java.text.SimpleDateFormat;
    import java.io.*;
    import java.lang.*;
    *  @created September 14, 2004
    *  This program uses a JFrame to manipulate data and form an
    *  address book.  The user will be able to load data from a file,
    *  sort it by last name, print the address, phone number, and date
    *  of birth, print the names of people whos birthday are between 2
    *  dates, print the names of people between 2 last names, and/or
    *  print the names of different person types.
    public class AddressBook extends JPanel implements ActionListener{
        JFrame frame;
        final int numButtons = 7;
        JRadioButton[] radioButtons = new JRadioButton[numButtons];
        JButton process = new JButton("Process Request");
        JLabel title;
        JTextArea output = new JTextArea(30,50);
        int MAX_ADDRESS_ENTRIES = 500;
        AddressBookEntry addressBookEntries[] =
            new AddressBookEntry[MAX_ADDRESS_ENTRIES];
        String FILE_NAME="AddressBook.txt";
        public AddressBook(JFrame frame){
            super(new BorderLayout());
            this.frame=frame;
            JPanel choicePanel = createSimpleDialogBox();
            choicePanel.setBorder(BorderFactory.createTitledBorder("Choices" +
            " to choose from:"));
            title = new JLabel("<html><h2> Thank you for opening the " +
            "Address Book.  " +
            "Please Press the \"Process Request\" " +
            "after making a choice.</h2></html>\n",JLabel.CENTER);
            title.setBorder(BorderFactory.createEmptyBorder(20,20,20,20));
            output.setEditable(false);
            add(title, BorderLayout.NORTH);
            add(choicePanel, BorderLayout.CENTER);
            add(output, BorderLayout.SOUTH);
            final ButtonGroup group = new ButtonGroup();
            final String saveCommand = "Save";
            final String sortByLN = "Sort by Last Name";
            final String searchLNCommand = "Search By Last Name";
            final String printAPD = "Print address, phone number, and DOB";
            final String printNamesDOB = "Print names of people whose birthday" +
            " falls between 2 dates";
            final String printNamesLN = "Print names of people who fall" +
            " between 2 last names";
            final String printPType = "Print all family members, friends, or" +
            " business associates";
        private JPanel createSimpleDialogBox(){
            radioButtons[0] = new JRadioButton(
              "<html>Save the address file</html>");
            radioButtons[0].setActionCommand(saveCommand);
            radioButtons[1] = new JRadioButton(
              "<html>Sort the address file by last name</html>");
            radioButtons[1].setActionCommand(sortByLN);
            radioButtons[2] = new JRadioButton(
              "<html>Search the address file by last name</html>");
            radioButtons[2].setActionCommand(searchLNCommand);
            radioButtons[3] = new JRadioButton(
              "<html>Print the address, phone number, and DOB of a specified" +
              " person</html>");
            radioButtons[3].setActionCommand(printAPD);
            radioButtons[4] = new JRadioButton(
              "<html>Print the names of people whose birthday falls between" +
              " two dates</html>");
            radioButtons[4].setActionCommand(printNamesDOB);
            radioButtons[5] = new JRadioButton(
              "<html>Print the names of people who fall between two" +
              " specified last names</html>");
            radioButtons[5].setActionCommand(printNamesLN);
            radioButtons[6] = new JRadioButton(
              "<html>Print all family members, friends, <u>OR</u>" +
              " business associates</html>");
            radioButtons[6].setActionCommand(printPType);
            for (int i=0; i<numButtons; i++){
                group.add(radioButtons);
    //set the first button (open file) to be selected
    radioButtons[0].setSelected(true);
    return createPane(radioButtons, process);
    private JPanel createPane(JRadioButton[] radioButtons,
    JButton showButton) {
    int numChoices = radioButtons.length;
    JPanel box = new JPanel();
    box.setLayout(new BoxLayout(box, BoxLayout.PAGE_AXIS));
    for (int i = 0; i < numChoices; i++) {
    box.add(radioButtons[i]);
    JPanel pane = new JPanel(new BorderLayout());
    pane.add(box, BorderLayout.NORTH);
    pane.add(showButton, BorderLayout.SOUTH);
    return pane;
    public void actionPerformed(ActionEvent e) {
    String command = group.getSelection().getActionCommand();
    //else if button pushed is save
    if (command == saveCommand){
    // save file
    //else if button pushed is search by last name
    else if (command == sortByLN){
    // search by last name
    //else if button pushed is sort by last name
    else if (command == searchLNCommand){
    // sort by last name
    // print to screen
    //else if button pushed is display address, ph#, dob
    else if (command == printAPD){
    // display "search by last name" dialog
    // search last names
    // if last name found
    // print data
    // else
    // print error notification "person not found"
    //else if button pushed is list names of people whose
    //bday between 2 days
    else if (command == printNamesDOB){
    // ask for which dates
    // search bday
    // print to screen
    //else if button pushed is print names of people between 2 last names
    else if (command == printNamesDOB){
    // ask for which two last names
    // search last names
    // if people found
    // print to screen
    //else
    //print error notification "no one found"
    //else if button pushed is print all family members, friends
    //or business associates
    else if (command == printPType){
    //ask for what person type
    //search person types
    //if people found
    //print to screen
    //else print "no one found"
    public void storeAddress(File addressFile){
         Scanner sc=null;
    String lname,fname,street,city,state,zip,phone,persontype,bday;
    try {
    // Delimiters specifiy where to parse tokens in a scanner
    sc = new Scanner(addressFile).useDelimiter("\\s*[\\p{,}*\\s+]\\s*");
    catch (FileNotFoundException fnfe) {
         JOptionPane.showMessageDialog(this,"Could not open the file");
    System.exit(-1);
    for(int i=0; i<MAX_ADDRESS_ENTRIES; i++){
         while (sc.hasNext()) {
    lname=(sc.next());
         if (!lname.equals("")){
         addressBookEntries[i].setLName()=lname;
    public class AddressBookEntry{
    private extPerson address;
    private String date;
    private extPerson ExtPerson;
    public class Person{
    protected String lastName, firstName;
    private String address;
    private String city;
    private String state;
    private String zipcode;
    private String homephone;
    private String extPersonType;
    private Date bday;
    SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-mm-DD");
    public String toString() {
    return lastName+" "+firstName;
    public void setLName(String last) {
    lastName=last;
    public void setFName(String first){
    firstName=first;
    public String getLastName() {
    return lastName;
    public String getFirstName() {
    return lastName;
    public Person() {
    lastName="";
    firstName="";
    public Person(String first, String last){
    setLName(last);
    setFName(first);
    //Set the address and return it
    public void setAddress( String addr ){
    address = addr;
    public String getAddress(){
    return address;
    //set the city and return it
    public void setCity( String town ){
    city = town;
    public String getCity(){
    return city;
    //set the state and return it
    public void setState( String st )
    state = st;
    public String getState()
    return state;
    //Set the zip code and return it
    public void setZipCode( String zip ){
    zipcode = zip;
    public String getZipCode(){
    return zipcode;
    //Set the home phone and return it
    public void setHomePhone( String homeph ){
    homephone = homeph;
    public String getHomePhone(){
    return homephone;
    //Set the bday and return it
    public Date getBday(){
    return bday;
    public void setBday(Date newBday) {
    bday = newBday;
    dateFormat.format(bday);
    //Set the extPerson type and return it
    public String getPType(){
    return extPersonType;
    public void setPBusiness(){
    extPersonType = "Business Associate";
    public void setPFamily(){
    extPersonType = "Family Member";
    public void setPFriend(){
    extPersonType = "Friend";
    public class extPerson extends Person{
    //new clss People
    public class People {
         int MAX_PEOPLE=500;
         BufferedReader bf;
    public String toString() {
              StringBuffer sb=new StringBuffer();
              for (int i=0; i<nPeople; i++)
              sb=sb.append(group[i]+"\n");
              return sb.toString();
    public void read(){
              String str;
              try {
              bf=new BufferedReader(new FileReader(new File(FILE_NAME)));
              str=bf.readLine();
              while (str!=null) {
              insert(str);
                   str=bf.readLine();
         catch (IOException e) {
              // Will jump to here on an eof condition.
         try {
              bf.close();
         catch (IOException e) {}
         public void save() {
              try {
              PrintWriter pw=new PrintWriter(FILE_NAME);
              for (int i=0; i<nPeople; i++)
              pw.println(group[i]+",");
              pw.close();
         catch (FileNotFoundException fne) {
                   System.out.println("Could not Save "+FILE_NAME);
    public People() {
              group=new extPerson[MAX_PEOPLE];
              nPeople=0;
         public boolean insert(String data) {
              if (nPeople<MAX_PEOPLE) {
              //extPerson guy=new extPerson(data);
              //group[nPeople]=guy;
              nPeople++;
              return true;
         else {
         JOptionPane.showMessageDialog(null,"Error in People" +
    "::insert: Max size reached.");
         return false;
         public void clear() {
              // This loop frees up the memory used by each extPerson
              for (int i=0; i<nPeople; i++)
              group[i]=null;
              nPeople=0;
    extPerson group[];
    int nPeople;
    * Create the GUI and show it. For thread safety,
    * this method should be invoked from the
    * event-dispatching thread.
    public static void createAndShowGUI(){
    JFrame.setDefaultLookAndFeelDecorated(true);
    JDialog.setDefaultLookAndFeelDecorated(true);
    JFrame frame = new JFrame("Address Book Program");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Container c = frame.getContentPane();
    c.add(new AddressBook(frame));
    frame.pack();
    frame.setVisible(true);
    public static void main (String s[]){       
    //Schedule a job for the event-dispatching thread:
    //creating and showign this application's GUI
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();

    Ok, I have changed my code to reflect your suggested changes, but I'm still unsure how to use the findInLine you suggested.... This is all very new to me and I've been looking on the java website for suggestions, but I'm still stumped on how to pull this together. I'm unsure on how to set the lastname,firstname,etc. for retrieval...
    Here's my code:
    //ADDRESS BOOK
    import java.awt.event.*;
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    import java.text.SimpleDateFormat;
    import java.io.*;
    import java.lang.*;
    *  @created September 14, 2004
    *  This program uses a JFrame to manipulate data and form an
    *  address book.  The user will be able to load data from a file,
    *  sort it by last name, print the address, phone number, and date
    *  of birth, print the names of people whos birthday are between 2
    *  dates, print the names of people between 2 last names, and/or
    *  print the names of different person types.
    public class AddressBook extends JPanel implements ActionListener{
        JFrame frame;
        final int numButtons = 7;
        JRadioButton[] radioButtons = new JRadioButton[numButtons];
        JButton process = new JButton("Process Request");
        JLabel title;
        JTextArea output = new JTextArea(30,50);
        int MAX_ADDRESS_ENTRIES = 500;
        AddressBookEntry addressBookEntries[] = new
        AddressBookEntry[MAX_ADDRESS_ENTRIES];
        public AddressBook(JFrame frame){
            super(new BorderLayout());
            this.frame=frame;
            JPanel choicePanel = createSimpleDialogBox();
            choicePanel.setBorder(BorderFactory.createTitledBorder("Choices" +
            " to choose from:"));
            title = new JLabel("<html><h2> Thank you for opening the " +
            "Address Book.  " +
            "Please Press the \"Process Request\" " +
            "after making a choice.</h2></html>\n",JLabel.CENTER);
            title.setBorder(BorderFactory.createEmptyBorder(20,20,20,20));
            output.setEditable(false);
            add(title, BorderLayout.NORTH);
            add(choicePanel, BorderLayout.CENTER);
            add(output, BorderLayout.SOUTH);
            final ButtonGroup group = new ButtonGroup();
            final String saveCommand = "Save";
            final String sortByLN = "Sort by Last Name";
            final String searchLNCommand = "Search By Last Name";
            final String printAPD = "Print address, phone number, and DOB";
            final String printNamesDOB = "Print names of people whose birthday" +
            " falls between 2 dates";
            final String printNamesLN = "Print names of people who fall" +
            " between 2 last names";
            final String printPType = "Print all family members, friends, or" +
            " business associates";
        private JPanel createSimpleDialogBox(){
            radioButtons[0] = new JRadioButton(
              "<html>Save the address file</html>");
            radioButtons[0].setActionCommand(saveCommand);
            radioButtons[1] = new JRadioButton(
              "<html>Sort the address file by last name</html>");
            radioButtons[1].setActionCommand(sortByLN);
            radioButtons[2] = new JRadioButton(
              "<html>Search the address file by last name</html>");
            radioButtons[2].setActionCommand(searchLNCommand);
            radioButtons[3] = new JRadioButton(
              "<html>Print the address, phone number, and DOB of a specified" +
              " person</html>");
            radioButtons[3].setActionCommand(printAPD);
            radioButtons[4] = new JRadioButton(
              "<html>Print the names of people whose birthday falls between" +
              " two dates</html>");
            radioButtons[4].setActionCommand(printNamesDOB);
            radioButtons[5] = new JRadioButton(
              "<html>Print the names of people who fall between two" +
              " specified last names</html>");
            radioButtons[5].setActionCommand(printNamesLN);
            radioButtons[6] = new JRadioButton(
              "<html>Print all family members, friends, <u>OR</u>" +
              " business associates</html>");
            radioButtons[6].setActionCommand(printPType);
            for (int i=0; i<numButtons; i++){
                group.add(radioButtons);
    //set the first button (open file) to be selected
    radioButtons[0].setSelected(true);
    return createPane(radioButtons, process);
    private JPanel createPane(JRadioButton[] radioButtons,
    JButton showButton) {
    int numChoices = radioButtons.length;
    JPanel box = new JPanel();
    box.setLayout(new BoxLayout(box, BoxLayout.PAGE_AXIS));
    for (int i = 0; i < numChoices; i++) {
    box.add(radioButtons[i]);
    JPanel pane = new JPanel(new BorderLayout());
    pane.add(box, BorderLayout.NORTH);
    pane.add(showButton, BorderLayout.SOUTH);
    return pane;
    public void actionPerformed(ActionEvent e) {
    String command = group.getSelection().getActionCommand();
    //else if button pushed is save
    if (command == saveCommand){
    // save file
    //else if button pushed is search by last name
    else if (command == sortByLN){
    // search by last name
    //else if button pushed is sort by last name
    else if (command == searchLNCommand){
    // sort by last name
    // print to screen
    //else if button pushed is display address, ph#, dob
    else if (command == printAPD){
    // display "search by last name" dialog
    // search last names
    // if last name found
    // print data
    // else
    // print error notification "person not found"
    //else if button pushed is list names of people whose
    //bday between 2 days
    else if (command == printNamesDOB){
    // ask for which dates
    // search bday
    // print to screen
    //else if button pushed is print names of people between 2 last names
    else if (command == printNamesDOB){
    // ask for which two last names
    // search last names
    // if people found
    // print to screen
    //else
    //print error notification "no one found"
    //else if button pushed is print all family members, friends
    //or business associates
    else if (command == printPType){
    //ask for what person type
    //search person types
    //if people found
    //print to screen
    //else print "no one found"
    public class AddressBookEntry{
    private extPerson address;
    private String date;
    private extPerson ExtPerson;
    * Create the GUI and show it. For thread safety,
    * this method should be invoked from the
    * event-dispatching thread.
    public static void createAndShowGUI(){
    JFrame.setDefaultLookAndFeelDecorated(true);
    JDialog.setDefaultLookAndFeelDecorated(true);
    JFrame frame = new JFrame("Address Book Program");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Container c = frame.getContentPane();
    c.add(new AddressBook(frame));
    frame.pack();
    frame.setVisible(true);
    public static void main (String s[]){       
    //Schedule a job for the event-dispatching thread:
    //creating and showign this application's GUI
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    //PERSON
    import java.awt.event.*;
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    import java.text.SimpleDateFormat;
    import java.io.*;
    import java.lang.*;
    public class Person{
    protected String lastName, firstName;
    private String address;
    private String city;
    private String state;
    private String zipcode;
    private String homephone;
    private String extPersonType;
    private String bday;
    SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-mm-DD");
    public void parseString(String s) {
              try {
              lastName = s.substring(0,s.indexOf(","));
              firstName = s.substring(s.indexOf(",")+1);
    address = s.substring(s.indexOf(",")+2);
    city = s.substring(s.indexOf(",")+3);
    state = s.substring(s.indexOf(",")+4);
    zipcode = s.substring(s.indexOf(",")+5);
    homephone = s.substring(s.indexOf(",")+6);
    extPersonType = s.substring(s.indexOf(",")+7);
    bday = s.substring(s.indexOf(",")+8);
    catch(StringIndexOutOfBoundsException sbe) {
              JOptionPane.showMessageDialog(null,"Error " +
    "in Person: Could not parse the line "+s);
    public String toString() {
    return lastName+","+firstName+","+address+","+city+","+
    state+","+zipcode+","+homephone+","+bday+","+extPersonType;
    public void setLName(String last) {
    lastName=last;
    public void setFName(String first){
    firstName=first;
    public String getLastName() {
    return lastName;
    public String getFirstName() {
    return lastName;
    public Person() {
    lastName="";
    firstName="";
    public Person(String first, String last){
    setLName(last);
    setFName(first);
    //Set the address and return it
    public void setAddress( String addr ){
    address = addr;
    public String getAddress(){
    return address;
    //set the city and return it
    public void setCity( String town ){
    city = town;
    public String getCity(){
    return city;
    //set the state and return it
    public void setState( String st )
    state = st;
    public String getState()
    return state;
    //Set the zip code and return it
    public void setZipCode( String zip ){
    zipcode = zip;
    public String getZipCode(){
    return zipcode;
    //Set the home phone and return it
    public void setHomePhone( String homeph ){
    homephone = homeph;
    public String getHomePhone(){
    return homephone;
    //Set the bday and return it
    public String getBday(){
    return bday;
    public void setBday(String newBday) {
    bday = newBday;
    dateFormat.format(bday);
    //Set the extPerson type and return it
    public String getPType(){
    return extPersonType;
    public void setPBusiness(){
    extPersonType = "Business Associate";
    public void setPFamily(){
    extPersonType = "Family Member";
    public void setPFriend(){
    extPersonType = "Friend";
    public Person(String data) {
    parseString(data);
    //EXTPERSON
    import java.awt.event.*;
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    import java.text.SimpleDateFormat;
    import java.io.*;
    import java.lang.*;
    //new clss extPerson
    public class extPerson extends Person {       
         int MAX_PEOPLE=500;
         BufferedReader bf;
    String lname,fname,street,city,state,zip,phone,persontype,bday;
    String FILE_NAME="AddressBook.txt";
    public String toString() {
              StringBuffer sb=new StringBuffer();
              for (int i=0; i<nPeople; i++)
              sb=sb.append(group1[i]+"\n");
              return sb.toString();
         public void save() {
              try {
              PrintWriter pw=new PrintWriter(FILE_NAME);
              for (int i=0; i<nPeople; i++)
              pw.println(group1[i]+",");
              pw.close();
         catch (FileNotFoundException fne) {
                   System.out.println("Could not Save "+FILE_NAME);
    public extPerson() {
              group1=new extPerson[MAX_PEOPLE];
              nPeople=0;
         public boolean insert(String data) {
              if (nPeople<MAX_PEOPLE) {
              Person guy = new Person(data);
              group1[nPeople]=guy;
              nPeople++;
              return true;
         else {
         JOptionPane.showMessageDialog(null,"Error in People" +
    "::insert: Max size reached.");
         return false;
    Person group1[];
    int nPeople;

  • Can different family member accounts share an address book in iCloud?

    we have a primary mobileme account which is now set up in icloud.  we have a family pack with a secondary family member account set up for my wife's business email.  This secondary account now also has its own icloud account that we set up.  Works fine.  The question is this - when my wife is logged in to her icloud secondary account and looking at her work-related emails, how can she access the addresses in the address book that is linked to the main icloud account?  She is usually working from a PC so it's not a matter of just looking at the local copy of the address book.  She needs to log out of the secondary icloud account, log in to the primary, look up the address, and then go back to the secondary account to send the email from her work email address.  Too cumbersome.  And icloud does not seem to like having two instances of icloud running at the same time on the same computer.
    Any thoughts would be appreciated.
    Thanks -
    Joel

    You're welcome.
    Happy Holidays to you and your family.
    Please note the items listed under Legend in the right sidebar of this page.

  • How can I add an e-mail address to my address book from an e-mail?

    Someone sends me an e-mail and I do not have their e-mail in my Thunderbird address book. Is there a way to enter their information into my address book without having to retype it all into my address book. In other e-mail programs that I have used, all I needed to do was click on the message and then click on a drop-down menu item that would simply copy all of the contact information into a new address book entry. Is it possible to do that in Thunderbird?

    When viewing a message in a tab or the message pane there is a star to the right of the senders address. If the star is filled with color the address is already in one of your address books. If the star is not filled, click the star to add them. Click the star a second time to open the edit dialog box to add more details to the contact.
    This is not the same star that is to the left of the message header when viewing the inbox.

Maybe you are looking for