Play sound on button click android
This is the most important part in the code provided in the original post. To explain it step by step: First is the initialization of the button to be used in playing the sound. We use the Activity’s findViewById, passing the Id we assigned to it (in this example’s case: R.id.button1), to get the button that we … Read more