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
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.
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..?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With