Friday 15 May 2015

copy database file in android -


I am developing an Android application that stores database files from /data/data/com.example/database.db

but it can give me an entry blocking file EACCES denied access

How can someone help me to help?

If you are copying, then you may see android.permission.WRITE_EXTERNAL_STORAGE < / Code> permission is required.

Add it to your manifest:

  Use of Android - permission: name = "android.permission.WRITE_EXTERNAL_STORAGE" />   

(How to use the use-permission tag in the manifest)

Add it and let us know whether you still get the error.

No comments:

Post a Comment