android - How to periodically scan SD card for files of a particular type? -


hi pretty new android , working on app needs scan sd card ppt , pdf files , upload them google drive.

i have implemented mediascannerconnectionclient class (in similar way code in question how scan sd card particular extension of files in android?) scans , returns file once when scanfile called.

however need able upload files added sd card after app has been started , scanfile has been called.

is there way besides calling scanfile continuously after fixed time interval ?

thanks in advance


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -