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
Post a Comment