Is there any Zenity alternative available for Android?
I am trying to do something like this using a Bash script in my Android device:
- Show a pop-up message
- Play a notification tone
- Show a pop-up window with text (or number) input box;
- Add item to notification panel;
- Show toaster message?
Is it possible to do this without using any external tool (or with only lightweight external tool)? If not then please name some command-line tools for this purpose.
Expected usage scenario, from command line:
$ ANWSER=$(android_show_message --buttons OK,Cancel "Do you really want ...?" ) (android_show_message script brings up a tiny apk app using `am start`) (android_show_message communicates with the app to configure what it want to do) (android_show_message waits until the app tells it to exit) user presses "OK", android_show_message exits successfully, printing "OK"; $ if [ "$ANSWER" == "OK" ]; then android_show_message --toast "Operation completed"; fi (a toast message is shown)