Android remove line from text file

My app Yahrtzeit2 got new option – possibility to remove unneeded dates from the list. For this purpose I added the following code: BufferedReader in = null; out = null; File sdCard = Environment.getExternalStorageDirectory(); File root = new File (sdCard.getAbsolutePath() + “/yahrtzeit2”); try { InputStream instream = new FileInputStream(file); in = new BufferedReader(new InputStreamReader(instream)); out… Continue reading Android remove line from text file