How to handle text files on Android?

Asked

Viewed 68 times

1

I tried to look at several websites, but each indicated in a different way. I know how to implement objects to create and read a java file, using File, FileWriter, BufferedWriter, FileReader, BufferedReader, and it was very simple to understand. The problem is that on Android you need a permission to record/read files.

Some tutos say it is possible to write to Android’s virtual SD without Problems(and without requiring permission),the problem is that the Virtual SD is an img file has no way to open by the computer and check whether the file was created or not. Already others say it has how to create in the own folder of the project where this class(I tried to do it using the same algorithm, but without success).

Can anyone explain me how to record/read files txt with those classes I quoted?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.