简体   繁体   English

如何在不扎根手机的情况下访问其他应用程序的/ data / data目录

[英]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.

相关问题 如何在不生根的情况下从我的android设备监视器访问数据/数据? - how can I accesses to data/data from my android device monitor with out rooting my phone? 如何在没有扎根手机的情况下包括屏幕截图功能? - How to include screenshot function without rooting phone? 设备生根后如何防止应用数据被盗 - How to prevent app data stolen after device rooting 无需扎根手机,我们能否在Android应用中获取Chrome浏览器的历史记录/书签? - Can we get chrome browser's history/bookmarks in our android app, without rooting the phone? Android:可以直接访问内核模块而无需扎根手机吗? - Android: possible to access kernel modules directly without rooting the phone? 如何在不扎根Android设备的情况下访问文件 - How to access files without rooting on an Android device 我可以不生根地制作镜像应用程序吗? - Can I make mirroring application without rooting? 无需生根即可访问数据库 - Access database without rooting Android手机中的屏幕截图没有生根 - Screenshot in Android phone without rooting 我可以在没有root的情况下将txt文件写入data \\ data \\ com.example.app(其他应用)\\文件吗? - Can i write txt file into data\data\com.example.app(other app)\files without root?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM