Is there any way to set a file extension filter for this intent: I want to filter files with this extension ".xxx"
val intent = Intent()
.setType("*/*") // <- it doesn't work if I put it here (".xxx")
.setAction(Intent.ACTION_GET_CONTENT)
startActivityForResult(Intent.createChooser(intent, "Select a file (.xxx)"), OPEN_FILE_CODE)
Thank you!