Currently the Open with option (openDocumentFile(...)) does nothing when the target file is an apk file.
The main goal of this issue is to add some implementation under the openDocumentFile native function to request install the apk, see android-install-apk-programmatically.