[英]If I know the exact location of a file or folder on an Android device, can I put a file there even if it doesn't belong to my app?
我被要求制作我的 android 应用程序,按下按钮,下载文件并将其放入/enterprise/device/settings/datawedge/autoimport/
。 这个位置不是我的应用程序创建的,也不属于我的应用程序——系统上的另一个应用程序从那里读取文件以导入设置。
一般情况下可以做这种事情吗? 如果是这样,如何?
一般情况下可以做这种事情吗?
不会。一般来说,文件存在于您可能获得写入权限的区域之外。 这将包括/enterprise/
、 /TKoL/
或系统根目录之外的其他任意命名的目录。
在有根设备上,你可能可以安排在那里写。 预装的系统应用程序可能可以在那里写入。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.