How to read a Text file (.txt) and set the words inside in String Variables on Android?

view full story

http://stackoverflow.com – I am trying to read a Text file (.txt), Im done with that. But I need to set in String variables every word inside the Text file. For example this words are inside the Text file called words.txt : whatsup; superman; heroe; batman; And this is the code I am using to read words.txt : File directory = Environment.getExternalStorageDirectory(); File file = new File(directory.getAbsolutePath()+"/HiMom", "words.txt"); try { FileInputStream fIn = new FileInputStream(file); InputStreamReader file = new InputStreamReader(fIn); BufferedReader br (HowTos)