×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2012
    Posts
    2

    Question How to Clear ALL CALL LOGS on a Click Event?

    Hi All,
    I want to delete all Call Logs(Dialed, Received and Missed) on a click event.
    I tried iLogViewRecent->RemoveL(myStatus);, but it din't worked.
    This is how I used it
    Code:
    CLogClient* iClientLog = CLogClient::NewL(CEikonEnv::Static()->FsSession());
    
    CLogViewRecent* iLogViewRecent = CLogViewRecent::NewL(*iClientLog, EPriorityNormal);
    iLogViewRecent->RemoveL(myStatus);
    I also tried iLogClient->DeleteEvent(aLogId, iStatus);, but it is deleting only selected item from the log(Used Log Example available on Wiki).

    Basically, I want to clear all call logs on a click event. I don't want to retrieve and display the logs.

    Any help will be highly appreciated.

    Tried searching it on Developer Wiki but din't find any thing suitable in my clause.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: How to Clear ALL CALL LOGS on a Click Event?

    Do not forget checking the documentation prior to posting questions here. Focus on methods starting with Clear.

  3. #3
    Registered User
    Join Date
    Nov 2010
    Posts
    40

    Re: How to Clear ALL CALL LOGS on a Click Event?

    You can try this
    ClearLog(TInt aRecentList, TRequestStatus &aStatus);
    or
    ClearLog(const TTime &aDate, TRequestStatus &aStatus);
    for more information you can refer
    http://library.developer.nokia.com/i...ientClass.html

Similar Threads

  1. How to use button click event in carbide c++?
    By nokia.vtrack in forum Symbian
    Replies: 5
    Last Post: 2010-12-12, 14:23
  2. Replies: 2
    Last Post: 2010-10-19, 08:06
  3. Mouse click Event
    By abhimanyu1 in forum Symbian
    Replies: 2
    Last Post: 2009-10-09, 08:10
  4. Camera Click Event
    By shashideokar10 in forum Symbian
    Replies: 1
    Last Post: 2008-06-10, 09:38
  5. Clear button does not throw event
    By Quickstinger in forum Mobile Java General
    Replies: 2
    Last Post: 2008-02-08, 10:47

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×