×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2004
    Location
    Novi Sad - Serbia
    Posts
    63

    CLogViewEvent returns deleted items

    Hello everyone,

    I implemented a class that reads 10 entries from dialled numbers call list in 3rd edition. I initialize CLogClient with R_LOG_DIR_OUT constant like this:

    Code:
    	TBuf<64> direction;
    	iLogClient->GetString(direction, R_LOG_DIR_OUT);
    	
    
    	// Set the direction to be filtered 
    	iLogFilter->SetDirection(direction);
    	iLogFilter->SetEventType(KLogCallEventTypeUid);
    Then I check if there are any entries in the list and if there are any I start with reading like this:

    Code:
    	TBool eventsInView = iLogView->SetFilterL(*iLogFilter, iStatus);
    	
    	if (eventsInView) {
    		iState = EDialedNumberCreatingView;
    		SetActive();
    	}
    In my RunL(), depending on current state, I call either:

    Code:
    TBool moreItemsInList = iLogView->FirstL(iStatus);
    or:

    Code:
    TBool moreItemsInList = iLogView->NextL(iStatus);
    And I access current item like this:

    Code:
    const CLogEvent& event = iLogView->Event();
    The thing is that all that works fine and I'm able to read the entries from the list but I can read those entries even when they are deleted from the phone. I mean, when I go to "Log" ==> "Recent calls" and delete all entries from all lists I'm still able to read those entries from my application.

    I assume that "Clear list" menu option on phone does not delete all the entries physically and only changes their status/flag or something like that.

    Is there anyone who knows how can I filter/retrieve only entries that were not deleted by user?

    I would appriciate any kind of help.

    Regards,
    Sasa

  2. #2
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: CLogViewEvent returns deleted items

    may be this is because of you are connected with the log engine, you just try to close this and read again all the number.


    i past i have seen this and solve this in the same manner, but it was on 2nd sdk fp3.


    hope this will help you.

    Regards,
    KKrish
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

Similar Threads

  1. Replies: 5
    Last Post: 2008-07-07, 20:11
  2. how can I get the deleted contactitems !!!
    By wssjtc in forum Symbian
    Replies: 1
    Last Post: 2007-01-25, 19:29
  3. ExampleClientEngine ...
    By GeKI in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2005-12-16, 07:12
  4. deleted items recovery????
    By vivek_2kx in forum Symbian
    Replies: 3
    Last Post: 2005-12-01, 06:38
  5. Personal
    By JSmith77 in forum PersonalJava
    Replies: 4
    Last Post: 2003-07-30, 12:52

Posting Permissions

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