Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone call log / history

I'm doing some research on the feasibility of an iPhone application, and can't find any indication in Apple's documentation that an iPhone app can read the call history of the phone, specifically the number called, when, and the duration... I also need the same information for SMS.

First of all: I've done my research and googled around, searched around on this site! I know this question had been asked a lot of times before, and the answer was always: "It can't be done" (at least not on a non-jailbroken iPhone).

I searched the API including Core Telephony and didn't find anything myself either.

So why this question? Because this app in the App Store seems to be doing this without a problem... : http://itunes.apple.com/us/app/callog/id327883585?mt=8

like image 457
Glenn Avatar asked Jun 02 '11 12:06

Glenn


People also ask

How long is call history kept on iPhone?

So, older calls must be stored somewhere. Is there a way to recover the call history without deleting calls? No, but you can log in to your cellular provider's website and see the call history for at least 18 months.


2 Answers

Sorry but right now it really can't be done..

On iOS 5 there isn't any access to call_history.db -> Which is exactly what you were looking for.

The app mentioned here: http://itunes.apple.com/us/app/callog/id327883585?mt=8 Does not work with iOS 5 (don't download but check the users' reviews..)

On iOS 4, you might still be able to get away with it: http://iosstuff.wordpress.com/2011/08/19/accessing-iphone-call-history/ But who develops solely for iOS 4 these days..?

like image 168
eladleb Avatar answered Sep 22 '22 08:09

eladleb


This doesn't need jailbreak. U can use the FMDB to access the call_history.db. It doesn't need any third party API's. I don't know, Apple will accept it or not, but I know it can be accessed as I have already done that in one of my apps, I am currently working on.

like image 29
Prince iPhone Avatar answered Sep 24 '22 08:09

Prince iPhone