With Android's scoped storage changes, media is being pushed toward ContentResolver.openFileDescriptor() rather than using the file path. Some refactoring will be necessary, but a SeekableByteChannel would be available from new FileInputStream(fd).getChannel().
With Android's scoped storage changes, media is being pushed toward ContentResolver.openFileDescriptor() rather than using the file path. Some refactoring will be necessary, but a
SeekableByteChannel
would be available fromnew FileInputStream(fd).getChannel()
.