I want source code for my current working project.
I want to monitor all the folder and its content present in the device. Whenever any changes in the directory like creation of file modification deletion etc will be copied into a separate folder. Ex: A photo is clicked through camera it'll be copied into a folder. Similarly assume we have root access so we will be copying all the databases available.
And contents of the folder should be uploaded to a particular google drive account and not one with the user configured account. The uploading should happen only when WiFi is available.
Delete all the files once it is uploaded.