0
I use a p plugin/ view the tables created in Sqlite, but I can’t access the "date" folder when I use my mobile phone as an emulator, only works when I use an AVD. Someone knows how to release this?
0
I use a p plugin/ view the tables created in Sqlite, but I can’t access the "date" folder when I use my mobile phone as an emulator, only works when I use an AVD. Someone knows how to release this?
1
To access the Date folder where your database contains, you need to use a device with ROOT, otherwise it will not be possible. If you are using a device with ROOT follow the following steps to get access as "super user":
Navigate to the folder . sdk Platform-tools by ms-dos and run adb as follows.
.\sdk Platform-tools>adb Devices
List of Devices Attached
0123456789ABCDEF device
This command will list the active devices and give you the identifier of the device, done this:
adb -s 0123456789ABCDEF shell
Then access via super user:
$ su
# chmod 777 /data
# chmod 777 /data/data
# chmod 777 /data/data/br.com.dominio.projeto
# chmod 777 /data/data/br.com.dominio.projeto/databases
# chmod 777 /data/data/br.com.dominio.projeto/databases/banco.db
After executing the above commands enter the DDMS select again the device and navigate to
data/date/"your project"/Databases/bank.db
EDIT: I have a link saved where they said that it is possible to backup your bank without using a ROOT phone, but I never had time to perform this test Link : Backup of database sqlite, this link is not fixed, when I have a test time and do another Edit in the answer
Browser other questions tagged android sqlite avd
You are not signed in. Login or sign up in order to post.
Thanks man, I just don’t get this losing the device.
– daniel12345smith
I’ll edit, a moment
– Wellington Avelino