I know I can unlock the screen, pull down the notifications, and press the clear notifications button, but there's got to be a way to clear the notifications through ADB
, right? I'm guessing it's some Intent
sent through the 'am' command, or maybe something even simpler, but I can't seem to find anything on the net. All I'm getting is Java
code for use with an apk
.
Edit: I should probably mention that I'm running on 4.3, sometimes commands may vary between versions.
when on the terminal screen try ctrl+l to clear the whole screen -or- type 'adb shell clear' to 'push' all the text up and the first showing line will be c:\etc... Save this answer.
Android Shell Commands. ADB is Android Debug Bridge which is a command line utility included with Google's Android SDK. It provides a terminal interface to control your Android device connected to a computer using a USB. ADB can be used to run shell commands, transfer files, install/uninstall apps, reboot and more.
Try:
adb shell service call notification 1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With