FORUMS

HTC’s New Ad Campaign And What It Really Means

HTC has just released three new blind test adverts comparing app loading … more

XDA Picks: Best Apps of the Week (June 27 – July 4)

Apps are at the front and center of any smartphone experience, and with over a … more

HTC One M9 Developer Edition Android 5.1 OTA

The Developer Edition of the HTC One M9 is receiving an over-the-air update to Android 5.1. … more

Index Project For XDA Device Subforums

Another ambitious project from the collaborative efforts of Recognized Contributors and Forum … more

How can I extract contacts from Android files ?

131 posts
Thanks Meter: 5
 
By moav, Senior Member on 26th September 2010, 12:34 PM
Post Reply Subscribe to Thread Email Thread
If I saved all my Android files on my computer from a previous build, can I somehow get the contacts out of them files ? perhaps there's a file that contains all contacts ?
Last edited by moav; 26th September 2010 at 02:03 PM.
 
 
26th September 2010, 02:19 PM |#2  
hazard99's Avatar
Senior Member
Thanks Meter: 76
 
More
log into your gmail and extract them that way
26th September 2010, 02:34 PM |#3  
moav's Avatar
OP Senior Member
Flag Haifa
Thanks Meter: 5
 
More
That's the weird part, for some reason the number I'm looking for wasn't logged by Gmail, and that's why with the current build I didn't have his number imported as the rest.
Last edited by moav; 26th September 2010 at 02:35 PM. Reason: spelling
27th September 2010, 08:32 AM |#4  
itsme_4ucz's Avatar
Recognized Developer
Thanks Meter: 468
 
More
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
The Following 4 Users Say Thank You to itsme_4ucz For This Useful Post: [ View ]
27th September 2010, 01:59 PM |#5  
moav's Avatar
OP Senior Member
Flag Haifa
Thanks Meter: 5
 
More
Quote:
Originally Posted by itsme_4ucz

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


If I understood correctly this file should be in the SD card, but I cannot find one, nor the directory /com.android.providers.contacts/ .
27th September 2010, 02:06 PM |#6  
hazard99's Avatar
Senior Member
Thanks Meter: 76
 
More
Your phone doesnt think its on the sdcard. It thinks its on the phone itself.

For my adb uses I use a program called android commander. It will allow you to navigate to that file.
27th September 2010, 02:10 PM |#7  
itsme_4ucz's Avatar
Recognized Developer
Thanks Meter: 468
 
More
Try using root explorer app, it will get you there...
27th September 2010, 04:12 PM |#8  
moav's Avatar
OP Senior Member
Flag Haifa
Thanks Meter: 5
 
More
My issue is not with the contacts on my working phone system, but on the files I copied before I've change to a new build. I thought there may be a chance it's on one of those files, but it sound much complicated then that.
27th September 2010, 08:50 PM |#9  
Senior Member
Thanks Meter: 9
 
More
If you don't want to try itsme_4ucz's solution, why not copy the files back to your phone and sync again with Gmail?
28th September 2010, 11:15 AM |#10  
moav's Avatar
OP Senior Member
Flag Haifa
Thanks Meter: 5
 
More
Because for some reason the build didn't load, that was the reason why I switched builds in the first place.
I don't want to root my phone for that, I'm pretty noob
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes