Android open InputStream from relative uri to ACTION_OPEN_DOCUMENT?
问题 I'am trying to open multiple files relative to a json configuration file in android 4.4 (api level 19), I used Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT); intent.addCategory(Intent.CATEGORY_OPENABLE); intent.setType({mime}); this.startActivityForResult(intent, {code}); to let the user find te configuration file, and from there open multiple files that I know the path from the config file. But i get Caused by: java.lang.SecurityException: Permission Denial: reading com.android