如何检测在Android的文件或文件夹的变化?文件夹、文件、Android

由网友(山川海河的神明)分享简介:时有可能发现在Android中的文件夹的变化?我的意思是,当检测到文件被删除或更改,知道至极的应用程序在做这些?在Windows中,有系统事件对于这一点,它不是necesary永久观看文件来检测的变化。这是非常重要的是要知道哪些应用程序在做的更改。解决方案 时可以检测的android文件夹的变化?您可以使用FileO...

时有可能发现在Android中的文件夹的变化?我的意思是,当检测到文件被删除或更改,知道至极的应用程序在做这些?在Windows中,有系统事件对于这一点,它不是necesary永久观看文件来检测的变化。这是非常重要的是要知道哪些应用程序在做的更改。

解决方案   

时可以检测的android文件夹的变化?

您可以使用FileObserver找出当文件被修改。

  

时非常重要的是知道至极应用程序正在做的修改。

这是信息不可用。

win10 下,想改变文件或文件夹的顺序,但拖动无效,

Is it possible to detect folder changes in Android? I mean detect when files are deleted or changed and know wich application are doing these? In Windows you have system events for this, it's not necesary to permanently watch the files to detect changes. It's very important to know which application is doing the changes.

解决方案

Is possible to detect folder changes in android?

You can use FileObserver to find out when files are modified.

Is very important to know wich application is doing the changes.

That information is not available.

阅读全文

相关推荐

最新文章