I'm using the code below to open a folder created by my application but it's not working, though I got it from Trying open a specific folder in android using intent.
public void openFolder() {
    SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this);
    String pa = sharedPreferences.getString("path", "");
    Intent intent = new Intent(Intent.ACTION_VIEW);
    Uri uri = Uri.parse(pa);
    intent.setDataAndType(uri, "*/*");
    startActivity(Intent.createChooser(intent, "Open folder"));
}
When I am sing Action_View, it shows all possible means except FileManager and in ACTION_GET_CONTENT it took me to SAF mode like to choose storage and then specific folders. 
How will it open my defined URI folder directly? Is there any other way?
 
     
    