Databases Used by Android applications

Source: Internet
Author: User
Document directory
  • APN data: (URI is "content: // telephony/carriers ")
Contact Database

/Data/COM. Android. providers. Contacts/databases

(Mb525 mobile phone:/data/COM. Motorola. Blur. providers. Contacts/databases/contacts2.db)

Contacts. dB (version 1.6 and earlier) contacts2.db (Version 2.0 and later)

You can use ddms to export the data to a PC and back up the contact data.

If you cannot see the file through fileexplore, you can export the contact data to the PC in the following ways:

$ adb shell
$ su
$ cd /data/data/com.motorola.blur.providers.contacts/databases
$ cat contacts2.db >/data/local/tmp/contacts2_moto.db
$ exit
$ exit
$ adb pull /data/local/tmp/contacts2_moto.db

If your phone is already root, the following password is successfully executed:

$ adb root

You do not need to drag the TMP folder and enter the following name (the obtained file is saved in the folder opened in the current nameline, the same below ):

$ adb pull /data/data/com.motorola.blur.providers.contacts/databases/contacts2.db

All databases on Android phones can be exported to PCs using the above methods. Of course, they must be cracked.

SMS/MMS:

/Data/COM. Android. providers. telephony/databases

Mmssms. DB

If it is a root machine (you do not need to enter ADB shell ---> su), you can directly use the following name: ADB pull/data/COM. android. providers. telephony/databases/mmssms. DB

 

APN data: (URI is "content: // telephony/carriers ")

/Data/COM. Android. providers. telephony/databases/telephony. DB

The currently used APN :( URI is "content: // telephony/carriers/preferapn ")

/Data/COM. Android. providers. telephony/shared_prefs/preferred-apn.xml

Multimedia (Audio/Video/image/file)

/Data/COM. Android. providers. Media/databases/

Internal *. DB is in the memory of the mobile phone

External *. DB is on the SD card

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.