Why I can't read a read only file?
问题 I have this method supposed to read a file: /* Read file's content */ private ArrayList<String> readFromFile() { File file = new File("jokesBody1.bjk"); ArrayList<String> list = new ArrayList<String>(); try { file.createNewFile(); ObjectInputStream ois = new ObjectInputStream( new FileInputStream( file ) ); try { list = (ArrayList)ois.readObject(); } catch (ClassNotFoundException e) { e.printStackTrace(); } ois.close(); } catch (IOException e) { Log.e("log activity", "Can not read file: " + e