How can I access /data/data directory of other app without rooting the phone

as per Google documentation,

By default, files saved to the internal storage are private to your application and other applications cannot access them (nor can the user). When the user uninstalls your application, these files are removed.

Source: http://developer.android.com/guide/topics/data/data-storage.html

By default implies that it is only temporary and can be modified. So is there any way to modify this permission to allow your app to read internal storage files from other Apps ?

I am willing to access /data/data/com.Whatsapp to access my encryption key to study how Whatsapp actually generates the key and i need to done this using my App, not a rooted phone or anything.


So is there any way to modify this permission to allow your app to read internal storage files from other Apps ?

No. In the quoted passage above, please see the "nor can the user" part. You, as a user, do not have rights to access those files, let alone change permissions on them. The exception is a user who roots their device.

链接地址: http://www.djcxy.com/p/85138.html

上一篇: Android内部存储为什么默认为私有

下一篇: 如何在不插电的情况下访问其他应用的/ data / data目录