I have tried so many answers related to this question but didn't work any of them. this my code but it didn't open the myFile folder. Please help me to resolve this issue
val intent = Intent(Intent.ACTION_GET_CONTENT)
val uri = Uri.parse(
(Environment.getExternalStorageDirectory().absolutePath) + "/myFile/")
intent.setDataAndType(uri, "*/*")
startActivityForResult(intent, WRITE_ACCESS_CODE)
