I\'m new to Android development and I have a question/problem.
I\'m playing around with the MediaPlayer class to reproduce some sounds/music. I am playing raw resou
Or, you could access the resource in this way:
mediaPlayer.setDataSource(context, Uri.parse("android.resource://com.package.name/raw/song"));
where com.package.name is the name of your application package