code: public static void addToMediaStore(Context context, File file) {
          String[] path = new String[]{file.getPath()};
          MediaScannerConnection.scanFile(context, path, null, null);
      }
docs: another media scan way