How to access data/data folder in Android device?

后端 未结 18 2169
南方客
南方客 2020-11-22 15:36

I am developing an app and I know my database *.db will appear in data/data/com.****.***

I can access this file from AVD in Eclipse with he

18条回答
  •  生来不讨喜
    2020-11-22 16:19

    To do any of the above (i.e. access protected folders from within your phone itself), you still need root. (That includes changing mount-permissions on the /data folder and accessing it)

    Without root, accessing the /data directly to read except from within your application via code isn't possible. So you could try copying that file to sdcard or somewhere accessible, and then, you should be able to access it normally.

    Rooting won't void your warranty if you have a developer device. I'm sorry, there isn't any other way AFAIK.

提交回复
热议问题