hi everyone,i've start programming with android studio 2 days ago and i wanted to create a sort of a soundboard...i've only 2 bytton with 1 audio each other (so 2 audio) and i wanted to know how can i make stop the audio i'm playing if i press the other button with the other sound or restart if i repress the same button.
I saw most of the people use soundpool but i didn't, i just wrote in java.
Sorry if this is a simple question, i'm new and i can't find the answer anywhere,thanks for helping me guys.
I saw most of the people use soundpool but i didn't, i just wrote in java.
Sorry if this is a simple question, i'm new and i can't find the answer anywhere,thanks for helping me guys.