I need to develop an android application where it works by monitoring a certain directory with a certain periodicity and sending new files from that directory to an FTP or other folder on the local network that the device is connected to. Eg Every two minutes monitor the camera directory and whenever a user takes a new picture, this monitor will check for new photos and send to a local network directory. How to work with this type of app on android?