Hi. I'm trying to make an app that can write/read some data to/from a file (.txt).
For example, when pressing one button I want to write something, when pressing the second button I want to write something else and when pressing the third button I want to open the file.
I managed to write into the file, but I can't open it in the app (if I exit the app I can open the file by navigating into the phone storage). I think maybe I don't use the right path to open the file. I tried to store the file in the phone internal storage and then on the sd card but I keep facing the same problem.
Can anyone here that can help me?