Created
June 23, 2015 09:52
-
-
Save mistrydarshan99/c3bcf90c3c67a254a26f to your computer and use it in GitHub Desktop.
Android get Database file from internal device memory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** Dababase device ma thi bahar kadhva *****/ | |
http://stackoverflow.com/questions/19194576/how-to-view-the-sqlite-database-in-device-android | |
1.)View Database filename : | |
============================= | |
adb -d shell "run-as com.yourpackge.name ls /data/data/com.yourpackge.name/databases/" | |
2.)Copy Database file to SDCard : | |
================================= | |
adb -d shell "run-as com.yourpackge.name cat /data/data/com.yourpackge.name/databases/filename.sqlite > /sdcard/filename.sqlite" | |
3.)Pull Database file to PC : | |
============================== | |
adb pull /sdcard/filename.sqlite | |
To get file from device and save in particualr location in pc | |
============================================================== | |
adb pull /data/data/net.tutorial.crypto/files/classified_file.txt C:\Users\Pavel\Downloads |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment