I am creating a game where whenever user clicks the right picture he increases the score and in addition to that I want to play a beep sound when accomplished. How can I do that?
Here is the related method:
public void increaseScore(View view){
score=score+1;
scoreText.setText("Score: "+score);
How can I implement sound in this method?