create a new Directory under the res folder and name it raw add your desired music or sound to the raw folder in you MainActivity.java put the code...