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 o
Seems the only way is to read the log from the iTunes side but now from the phone:
http://arstechnica.com/apple/news/2007/11/iphonelogd-another-solution-for-viewing-your-iphone-call-log.ars
Unfortunately you can't access the call history. The only User Data you have API access to is the address book. You can also access photos/pictures but only by starting an iPhone-controlled dialog that allows the user to choose a single image.
It's a bit sucky, hopefully this will be expanded in future versions.
You can access call history on the Mac by sniffing around the iTunes directory. There are apps out there that do this.
AFAIK you can't access call history. The address book is a database of contacts, not call information.
You can read more about the address book in the SDK's "Address Book Programming Guide for iPhone OS."
I did some reading in which states that you can access the call history on the iphone. It may be dated but worth a shot. Apparently the history is/was held in just a sqlite db on a table called call. The db is/was located at /private/var/mobile/library/CallHistory/call_history.db
If you use FMDB, you can simply do something like this.
FMResultSet *rs = [db executeQuery:@"Select * from Call"];
to get the call history