Skip to main content
Klyx provides a unified file system API that abstracts over Android’s Storage Access Framework (SAF) and local file system access.

KxFile

KxFile wraps both DocumentFile (SAF) and java.io.File, providing a unified interface.

Creating KxFile instances

Reading files

Writing files

File properties

Directory operations

Delete and rename

FileSystem service

The FileSystem service provides additional file operations with URI-based access.

FileCapabilities

Paths utility

Paths provides common directory paths:

File category detection

Last modified on July 11, 2026