My goal is to list only *.json files in android filebrowser, to load them to the software.
File folder = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + PATH_TO_WRITE);
Uri uri = Uri.fromFile(folder);
intent.setDataAndType(uri, "file/.json");
intent.addCategory(Intent.CATEGORY_OPENABLE);
Activity activity = (Activity) context;
activity.startActivityForResult(intent, FILECHOOSER_RESULTCODE);
Looks like the Android filebrowser dosen't support *.json files. Is there way to implement FileFilter to the intent?