Support Saving contacts from call log

Discussion in 'Android Devices' started by edub, May 7, 2010.

  1. edub

    edub Member
    16

    Mar 24, 2010
    15
    1
    16
    Anyone know how? I called the same person 5 times before giving up.
     

    Advertisement
  2. mobil3gen

    mobil3gen Well-Known Member
    48

    Feb 22, 2010
    261
    19
    48
    Student, Wireless Sales
    Clarkston, WA
    long press in the call log on a particular number will give you the option to save them as a contact.

    Just hit save to people or hit the "+" symbol to the right of the unknown number and you can "create a new contact"
     
    spacecoaster likes this.
  3. Shyam.KA

    Shyam.KA New Member
    5

    Jun 23, 2010
    1
    0
    5
    Hi all,
    To save contacts from call Log through ASE is not going to be a challenging ask i guess.I have tried the following Steps.
    Step 1: Get the last dialed number from call log.
    Step 2: Save the number by using addContact() method from ContactsFacade.java

    //Code to get the dialed number from callLog.
    public String saveFromCallLog()
    {

    String lastDialedNumber =
    CALLLOG_EMPTY;
    String[] projection =
    new String[]{Calls.NUMBER};
    try

    {
    c = mService.getContentResolver().query(CONTENT_URI, projection, null, null, null);
    if(c != null)
    {
    c.moveToLast();
    lastDialedNumber =
    c.getString(0);
    }


    }
    catch(Exception e)
    {
    e.getMessage();
    }
    finally

    {
    c.close();
    }
    return lastDialedNumber;


    }
     
  4. OP: I suggest getting Call Confirm, which will eliminate calling people accidentally.
     
    spacecoaster likes this.
  5. Chandria

    Chandria Well-Known Member
    43

    May 3, 2010
    103
    26
    43
    Florida
    ^ this
     
  6. contagous

    contagous Well-Known Member
    93

    May 21, 2010
    966
    132
    93
    Gfx Design / Network Engineer
    Seattle WA
    Call confirm rocks
     

Share This Page

Loading...