1

I need to export an SQLite database from an Android phone to a computer.

I know you can do it with the pull command and shell, but it seems that this is only possible on rooted phones (or that's what I read). Is this true or is there another way to pull the db files?

At the moment I copy the whole database file to the external storage to be able to access it from a PC I don't know if this is good or bad practice.

What are my options here?

Lucas Kauffman
  • 6,789
  • 15
  • 60
  • 86

2 Answers2

0

My solution was to listen for a broadcast and copy the database to a place where I can pull the file. For me this was the external storage.

Lucas Kauffman
  • 6,789
  • 15
  • 60
  • 86
0

Well if you can't get it with adb pull, you could try to e-mail it to yourself or use dropbox or something?

Read: How to attach database file to an Email in android?

Community
  • 1
  • 1
Ferdau
  • 1,524
  • 1
  • 12
  • 21