Saving contacts from call logSupport


Last Updated:

  1. edub

    edub Member This Topic's Starter

    Joined:
    Mar 24, 2010
    Messages:
    15
    Likes Received:
    1
    Anyone know how? I called the same person 5 times before giving up.
     

    Advertisement
  2. mobil3gen

    mobil3gen Well-Known Member

    Joined:
    Feb 22, 2010
    Messages:
    261
    Likes Received:
    19
    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

    Joined:
    Jun 23, 2010
    Messages:
    1
    Likes Received:
    0
    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. Colchicine

    Colchicine Well-Known Member

    Joined:
    Apr 8, 2010
    Messages:
    768
    Likes Received:
    224
    OP: I suggest getting Call Confirm, which will eliminate calling people accidentally.
     
    spacecoaster likes this.
  5. Chandria

    Chandria Well-Known Member

    Joined:
    May 3, 2010
    Messages:
    103
    Likes Received:
    26
    ^ this
     
  6. contagous

    contagous Well-Known Member

    Joined:
    May 21, 2010
    Messages:
    966
    Likes Received:
    132
    Call confirm rocks
     

Share This Page

Loading...