tags:

views:

302

answers:

2

Hi

I want to know in which format the contact details are stored in android mobile or emulator.If any body knows the answer please help me.

+3  A: 

You can access contact information programmatically using ContactsContract and AccountManager (in Android 2.0); there's an example on how to do so in the SDK, called Contact Manager.

Roman Nurik
+1  A: 

The contacts are stored in a SQLite3 database file so the file format is ".db"

The development tool Android Debug Bridge (ADB) can be used to extract the file from an EMULATOR

ADB can also extract the file from a phone but it must be rooted first AND the ADB drivers must be installed on your machibe as well

(Rooting is NOT for beginners though)

The contacts.db file is stored in the protected system memory, the file path is:

data/data/com.android.providers.contacts/databases/contacts.db

Oliver