Volume slider

420

Active member
yes this works with any MD window is in foreground.
also working with combination of following actions -
display dialog (which i configured to show volume level) & then running script - shows dialog and then volum slider pops up.
just need to press ok after changing volume.
but this pauses youtube but acceptable
have you changed the dialog's notification sound from standard to none? this might prevent youtube from pausing.
 

Josh

New member
1. and 2.

if you try the shell command for input keyevent .. and check the option for the output to go a local variable
you will see that the shell output is 'Killed'
this is a message from the shell and says that while input keyevent .. was running it was killed or crashed (eg. due to some permission missing)
it is indeed possible that the volume was changed but this was just one thing that should be done, the other thing (bring the slider) did not execute because ... 'Killed' 😂

about 3. read this


somebody said that he solved this issue with this strange permission
I haven't found any such permission !
but for completeness I must mention this

about 4.
there is scant documentation on sendevent, it's a low level operation
again I mentioned it for completeness
I doubt that it will fix the problem (it does the same thing that input does)


finally:
for me it's something peculiar to android because it seems that audio volume management by simulating the keys can be done only by an app in the foreground
that's why the app I told you exists 😂 because there is a need by many people (like you and me) to bring the volume slider without keys (this app displays nothing but comes in foreground, it's a trick)

it would be interesting if someone with a rooted phone does this test and post the result
I know why... It's because a flaw was found in android where anyone with head phones could be hacked. By deliberately muting their assistant voice sound and then talking to their assistant ie okay Google . However that aside I'm also looking for something to just pop up the slider. My external cooler pushes the buttons so when it connects (Bluetooth) I want my keys to be ignored and the slider to pop up when I shake device etc... I believe I can emulate this by sending intent as if on headphones. I've managed to get macro droid to change volume (but it doesn't bring up slider. I've also managed to jump to the main volume menu. If anyone finds a solution could they please update . Thanks.
 

Jacob L

Moderator (Lawsonator)
I know why... It's because a flaw was found in android where anyone with head phones could be hacked. By deliberately muting their assistant voice sound and then talking to their assistant ie okay Google . However that aside I'm also looking for something to just pop up the slider. My external cooler pushes the buttons so when it connects (Bluetooth) I want my keys to be ignored and the slider to pop up when I shake device etc... I believe I can emulate this by sending intent as if on headphones. I've managed to get macro droid to change volume (but it doesn't bring up slider. I've also managed to jump to the main volume menu. If anyone finds a solution could they please update . Thanks.
 
Top