Question: Currenty I want to load iphone's addressbook db into my iphone app db..i mean i want to dump addressbook data into my app db

Is it possible? if so give me a link or references to do so

Thanks for any help

Cant i export AddressBook.sqlitedb to another sqlite db for my iphone app?

I mean, do i need to iterate over the loop? 

Isn't possible to load the addressbook.db data into my database in which i am going to create my own addressbook ...

Answer: 
Yes it os possible.

Look here:

<http://developer.apple.com/library/ios/#documentation/ContactData/Conceptual/AddressBookProgrammingGuideforiPhone/Introduction.html>

It would like like that:

```
ABAddressBookRef addressBook = ABAddressBookCreate( );
CFArrayRef allPeople = ABAddressBookCopyArrayOfAllPeople( addressBook );
CFIndex numberOfAllPeople = ABAddressBookGetPersonCount( addressBook );

for ( int i = 0; i < numberOfAllPeople; i++ )
{
ABRecordRef ref = CFArrayGetValueAtIndex( numberOfAllPeople, i );
//use the ref to store its properties in your db
}

```
This should have everything you need to get started:

[ABAddressBook Documentation](http://developer.apple.com/library/ios/#DOCUMENTATION/AddressBook/Reference/ABAddressBookRef_iPhoneOS/Reference/reference.html/ "ABAddressBook Documentation")

The APIs are not meant to be used to dump the address book though - developers are supposed to interact with the centralized database in a courteous manner. 

I recommend a full backup of your contact database before you start debugging ;)