I would like to play a default system sound that exists on every Android device.
If you go to the settings on a phone, there is an option that allows the user to set a new system volume. When the user moves the seekbar thumb a sound is played so the user knows what the new volume happens to be.
I would like to do the same in my app.
My app is already set up so it will detect when the seekbar value changes.
Since there are many versions of Android out there, the default system sound could be in several different places on each phone.
Can you show me the needed coding to locate and play the system sound just like when the user uses the seekbar in the Android "Volumes" dialog box? I see many apps on Google Play do this but I don't know how they did it.
Thanks.
If you go to the settings on a phone, there is an option that allows the user to set a new system volume. When the user moves the seekbar thumb a sound is played so the user knows what the new volume happens to be.
I would like to do the same in my app.
My app is already set up so it will detect when the seekbar value changes.
Since there are many versions of Android out there, the default system sound could be in several different places on each phone.
Can you show me the needed coding to locate and play the system sound just like when the user uses the seekbar in the Android "Volumes" dialog box? I see many apps on Google Play do this but I don't know how they did it.
Thanks.