Writing files on Android External or Internal Storage


On my Mac Os version of my app, i managed to export a MidiFile on my computer pretty easily using the FileOutputStream and writeTo methods.

For my Android app version, i’d like to do the same to export the MidiFile i created on my device, but i don’t understand how to do this.

How would you do this ?