We have several Samsung phones running on Android 10 and our app uses the MediaPlayer to play a background sound file. The issue we are experiencing involves the volume the MediaPlayer plays the sound file. It fluctuates. Randomly it get quite loud for a duration of a few seconds and...
It is possible for action to happen when the volume is changed not by (my) app?
for example, when the user click on volume up button, a message box will pop up? (whether the app is open or closed)?
Thanks in advance.
Nice library but it needs a more detailed tutorial.
I tried to set the volume like this:
but I get an error telling me it expects an array. I have not used arrays yet so I found this example:
Creates a single dimension array of the specified type.
The syntax is: Array...