Android - How to read and write file in internal storage? : I'm trying to create a directory in internal storage and then write my files in that directory.
I'm able to create the directory in internal storage but it is not showing.
When I create new file in that directory and write in that file, I get an error of null pointer exception.
File.createNewFile() method is ignored and my file is not created.
I'm using printwriter to write in file and buffered reader to read.
How to read and write files in internal storage? Plz help! My application needs a lot of file handling.