Hey guys, I'm trying to play a midi file that is located in my res/raw folder (just like in the tutorial).
The name of the midi file is test (just shows up as test on my computer but when i copy it to the raw directory it changes to test.mid). This is the problem line in my code (basically from the media player tutorial)
MediaPlayer mp = MediaPlayer.create(context, R.raw.test.mid);
this statement doesnt work because test.mid is invalid. Is there a way to do somethine like "test.mid". that will cause the compiler to ignore the '.' ?