https://kotlinlang.org logo
Title
b

Ben Piatt

11/05/2018, 9:13 PM
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
:stackoverflow: 6
:google: 7
n

nwh

11/05/2018, 9:38 PM
Sorry this isn't helpful, but of course someone is going to say it eventually - this channel is for kotlin related questions