0
votes
Vote UpVote

iOS Address Book fun

The Hacker's Corner – Getting data out of the iOS address book is a lot harder than I thought… Must make component… Here’s a Q&D routine I managed to eek out today. It simply prints all contacts and all their numbers to the log console. Enjoy! uses iPhoneAll, AddressBook, CFArray, CFBase; procedure DumpAddressBook; var addressBook : ABAddressBookRef; allPeople : CFArrayRef; nPeople : CFIndex; ref : ABRecordRef; i, j : Integer; firstName : CFStringRef; lastName : CFStringRef; phoneNumber : CFStringRef; l, v : CFStringRef; S : NSString; begin addressBook := ...
Favorite? Off-Topic? Anders Ohlsson @ 2012-01-25 01:36

Statistics

Visits: 726
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)