Results 1 to 1 of 1

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.

Thread: Count of missed calls

  1. #1
    Default Count of missed calls
    For everyone trying to do missed call notification

    Add this to CoreTelephony.h:

    int _CTCallHistoryStoreGetCountOfMissedCallSince(NSDate *aDate);
    Then do this to get a count of missed calls:
        NSNumber *pdate = (NSNumber*)CFPreferencesCopyAppValue(CFSTR("RecentsLastViewedDate"),
        NSDate *aDate = [[NSDate alloc] initWithTimeIntervalSinceReferenceDate: [pdate
        int ct = _CTCallHistoryStoreGetCountOfMissedCallSince(aDate);
    Starlight Computer Wizardry
    Pocket-sized Development
    Follow me on twitter: @NetMage

  2. The Following 3 Users Say Thank You to NetMage For This Useful Post:

    christoph2k (2008-07-16), Kyle Matthews (2008-01-03), skrew (2008-04-16)

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