Not really a Kotlin question, but more of an Android filesystem question: Is there a way to access last accessed time for a file on Android? For example, activating ‘atime’ tracking. On Linux filesystems, one can generally use stat or lstat to get the value: long lastAccessTime = Os.lstat(file.getAbsolutePath()).st_atime; but it seems that if the OS doesn’t actually track it, it will just return a default value