It looks like you're new here. If you want to get involved, click one of these buttons!
I'm upgrading an android game i've built some months ago ([https://play.google.com/store/apps/details?id=com.Sarothlon.MazeGenerator&hl=it](See it here)) so I first tested the new version on java mode and than in android mode where I'm not able to write textFiles i used to save some informations about the scores and some settings. The problem is that in android mode the PrintWriter class doesn't work. I think this is caused by the path of the argument of createWriter("data/textfile.txt"); I red that in android mode the path of the file should be absolute and not relative, but i couldn't find the textfile.txt searching in my smart phone. In addiction if an absolute path is requested it's still a problem because I think the path can change according to the different users'preferences (for example sd card or internal storage).
How can i fix this problem?