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?

2
  • You can't access database folder of other application until you have rooted phone. Commented Feb 17, 2015 at 5:51
  • I could access the folder without root permission Commented Feb 17, 2015 at 5:56

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.