When press button first sound active. Then press that button again it will stop and second sound active My code is OK?
package com.Randomsentence; impor
Your code has several errors. Typos, cases,
ex.: Medaiplayer should be MediaPlayer
This alone would be enough to cause the error. Also, declaring your variables outside the method is a good idea.