Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

monitor changes in a file or directory?

Tags:

android

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

like image 372
RadZaeem Avatar asked May 05 '11 01:05

RadZaeem


People also ask

How do I monitor a folder for changes?

Locate the file or folder whose permission changes you wish to track. Right click on it and go to Properties. In the Security tab, click the Advanced button. In Advanced Security Settings for Active Directory window, go to Auditing tab, and click the Add button to add a new auditing entry.

How do I monitor files in a folder?

You can use the ellipsis (...) button to browse for the folder. Select this option to monitor the files and folders in sub-folders in the Folder that you specified.

What is file activity monitoring?

File Activity Monitoring discovers the sensitive data on your servers; classifies content using pre-defined or user defined definitions; configures rules and policies about data access, and actions to be taken when rules are met.


2 Answers

I think FileObserver is what you are looking for

like image 62
Bostone Avatar answered Oct 12 '22 19:10

Bostone


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..

like image 33
skoylu Avatar answered Oct 12 '22 19:10

skoylu