While opening file manager using SAF can I redirect directly to my selected folder instead of just opening the file manager?
While opening SAF, whatever directory path I have selected directly that should be open instead of just open file manager
I am using Kotlin and Android Studio.
Below code I am opening SAF
val intent = Intent(Intent.ACTION_OPEN_DOCUMENT_TREE)
Log.e("check", "uri: " +getTargetUri(filePathToBeShare))
Log.e("check", "filePathToBeShare: " +filePathToBeShare) intent.putExtra(DocumentsContract.EXTRA_INITIAL_URI,getTargetUri(filePathToBeShare))
startActivityForResult(intent,...