I am writing a notebook, I can not understand how to put a list of saved files in the ListView .

  File nameFiler = new File (namaFile); nameList.add(namaFile); //Исправить. OutputStream outputStream = openFileOutput(namaFile, 1); OutputStreamWriter osw = new OutputStreamWriter(outputStream); osw.write(mEditText.getText().toString()); osw.close(); 
  • A very general question. Saved where? - post_zeew
  • Added a edit. - Romag
  • This правка yours is not clear. - post_zeew
  • I tried to put the directory through getAbsolutePath, but they write to me that the file is in the "/ filename". Opening occurs without specifying the location of the file. - Romag
  • I recommend working with the database, not files. - pavlofff

0