How do I set up an audiofile to play when a user touches an image.
Where should I store the audio file and what code should I use to actually play the file? I don\'t
public void aud_play(View view) { if (!mp.isPlaying()) { //If media player is not playing it. mp = MediaPlayer.create(this, R.raw.audio_name); mp.start(); } else {// Toast of Already playing ... } }