Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor sasa's Avatar
    Join Date
    Mar 2004
    Location
    Novi Sad - Serbia
    Posts
    63
    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
    Nokia Developer Champion kkrish's Avatar
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,029
    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

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 C++
    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 C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved