monitor changes in a file or directory?

前端 未结 2 1683

In Android, how do I monitor changes made by others (app, internet, bluetooth, dll) to a file or directory

2条回答
  •  时光说笑
    2021-02-08 18:00

    No, in standard android, you don't monitor for activities of others, app, internet etc.

    Your program can only track and access your data directory. Others uses its own directories.

    But, if you have rooted a telephone, you can write/start a root process or suid process. But this solution is only valid for rooted telephones..

提交回复
热议问题