Reputation: 1876
I have some doubts about deployment an app in Google Play. I'm using Eclipse to work and my application needs some XML files store in data/data/my_app/files/
.
data/data/...
directory, but when I use my cellphone the directory is not open, why?data/data/...
directory, when I deploy my app to Google Play, those files will be accessible by my app. Will those files be accessible by anyone who download my app?Thanks in advance.
Upvotes: 0
Views: 31
Reputation: 1007624
When I use the AVD I can storage the files directly on data/data/... directory, but when I use my cellphone the directory is not open, why?
Security. The piece on Android that adb
talks to has elevated privileges on an emulator.
Will those files be accessible by anyone who download my app?
Generally no, for the same reason why they are not accessible to you per question #1. Users who root their devices will be able to get to files on internal storage. Otherwise, they cannot.
I wrote a blog post series a while back on the various storage options in Android and their characteristics, including one on internal storage, that might be of interest to you.
Upvotes: 1