1

My phone has not root permission. I want to copy file from sdcard to data/data/packname/database folder programmatically. But file doesn't copy. copying operation doesn't give any exceptions. What's problem?

user3900720
  • 131
  • 2
  • 8

1 Answers1

0

You can access the database folder only when create SQLite database. Any other access will be denied on non-rooted device. But you can copy db by your program: see this and this.

Community
  • 1
  • 1
anil
  • 2,083
  • 21
  • 37