Trying to point at a folder under my apps storage space and it will not work, what am I missing? Only opens the last place selected. Thanks!
DocumentFile f = DocumentFile.fromFile(getExternalFilesDir("/database"));
Intent intent = new Intent(ACTION_OPEN_DOCUMENT);
intent.addCategory(Intent.CATEGORY_OPENABLE);
intent.setType("application/*");
intent.putExtra(EXTRA_INITIAL_URI, f.getUri()); //file:///storage/emulated/0/Android/data/com.XXXXX.xxxxxx/files/database
startActivityForResult(intent, 7890);