I\'m trying to learn more about reading/writing to an XML-file (as a kind of database) in Android. I can\'t seem to find anything about this so I guess I don\'t know what te
To create new file in /storage/sdcard0/your_app_name/ use following:
File file = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/" + "your_app_name" + "/" + xmlFile); file.createNewFile(); FileOutputStream fileos = new FileOutputStream(file);