[英]How can I access /data/data directory of other app without rooting the phone
as per Google documentation, 根据Google文档,
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 来源: 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. 我愿意访问
/data/data/com.Whatsapp
来访问我的加密密钥,以研究Whatsapp实际生成密钥的方式,我需要使用我的App(而不是有根电话或其他工具)来完成此操作。
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.
唯一的原因是root用户的设备。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.