I would like to create a notification (icon in the notification panel plus a message in the notification box) from the shell script that I run on my Android device. I have CyanogenMod11 that comes with BusyBox v1.22.1 bionic.
I found how to create a toast ( http://forum.xda-developers.com/showthread.php?t=773232 ), but I need a notification. For the difference between toasts and notification see this great thread: https://android.stackexchange.com/questions/52789/popups-dialogs-notifications-toasts-whats-the-difference
Can someone point me in the right direction? I guess this will appeal to Android Activity Manager (am), but I searched all over the Internet and couldn't find a way to create a notification from the command line on Android.
Source: https://forum.xda-developers.com/showpost.php?p=69859668&postcount=18
Date: 30 November 2016, 14:32
, script. , corruptor64. , , , , . ( Android) , Notify4Scripts, , , GitHub https://github.com/halnovemila/Notify4Scripts
, , "am" ( ) Android, Android, am notify4scripts.