dumpsys audio
setting information
settings list system | grep volume
adjust volume
input keyevent 24
其它的keycode
| keycode | Meaning |
|---|---|
| 3 | HOME key |
| 4 | Back key |
| 5 | Open the dial-up application |
| 6 | Hang up the call |
| 24 | Increase volume |
| 25 | Reduce the volume |
| 26 | Power button |
| 27 | Taking photos (need to be in the camera application) |
| 64 | Open the browser |
| 82 | Menu key |
| 85 | Play/Pause |
| 86 | Stop playing |
| 87 | Play the next song |
| 88 | Play the previous song |
| 122 | Move the cursor to the beginning of the line or the top of the list |
| 123 | Move the cursor to the end of the line or the bottom of the list |
| 126 | Resume playback |
| 127 | Pause playback |
| 164 | Mute (Speaker) |
| 176 | Open system settings |
| 187 | Switch application |
| 207 | Open contacts |
| 208 | Open the calendar |
| 209 | Open music |
| 210 | Open the calculator |
| 220 | Reduce screen brightness |
| 221 | Increase screen brightness |
| 223 | System hibernation |
| 224 | Light up the screen |
| 231 | Open the voice assistant |
| 276 | If there is no wakelock, let the system hibernate |
ref: Most complete ADB command manual
沒有留言:
張貼留言