title: Android: How to create a notification from the command line (terminal emulator or shell script)?
body: <p>I would like to create a notification (icon in notification bar plus message in notification drawer) from a shell script that I'm running on my android device. I have CyanogenMod11, which comes with BusyBox v1.22.1 bionic.</p>
  
  <p>I've discovered how to create a toast (<a href="http://forum.xda-developers.com/showthread.php?t=773232" rel="nofollow noreferrer">http://forum.xda-developers.com/showthread.php?t=773232</a>) but what I need is a notification. For difference between toast and notification, see this excellent thread: <a href="https://android.stackexchange.com/questions/52789/popups-dialogs-notifications-toasts-whats-the-difference">https://android.stackexchange.com/questions/52789/popups-dialogs-notifications-toasts-whats-the-difference</a> </p>
  
  <p>Can anyone point me in the right direction? I'm guessing it will involve the Android Activity Manager (am) but I've searched every nook and cranny of the internet and cannot find a way to create a notification from the command line on android.</p>