Create Audio FileFilter in Android

Audio File Filter Android

What is FileFilter? FileFilter in Android is an interface in Java which can be used to perform operations on specific files. For example, using FileFilter, you can separate different file types, list the number of specific files or check the type of file and such operations.  The instance of FileFilter can be passed to the listFiles(FileFilter) method of File Class. When it is passed as an instance, it filters specific file types. [the_ad id=”3168″]   Today we are going to write code

How to create FileObserver in Android

File Observer Android

What is FileObserver? A FileObserver in Android is an interface that monitors file access and modification. It triggers an event any time a file is accessed or changed by any process on the device. Each FileObserver instance monitors either a file or a directory. And if the instance is observing a directory, events will be triggered for all files and sub-directories inside the monitored directory. Warning If a FileObserver is garbage collected, it will stop sending events. Also, FileObserver must be

Site Footer

© 2018 The Engineer's Cafe. All Rights Reserved.