show_usage () {
echo "Usage: $SCRIPTNAME"
echo "Get the status of the device battery."
- echo ""
exit 0
}
show_usage () {
echo "Usage: $SCRIPTNAME"
echo "Get information about device camera(s)."
- echo ""
exit 0
}
show_usage () {
echo "Usage: termux-camera-photo [-c camera-id] output-file"
echo "Take a photo and save it to a file in JPEG format."
- echo ""
echo " -c camera-id ID of the camera to use (see termux-camera-info), default: 0"
- echo ""
exit 0
}
show_usage () {
echo "Usage: $SCRIPTNAME"
echo "Get the system clipboard text."
- echo ""
exit 0
}
show_usage () {
echo "Usage: $SCRIPTNAME [text]"
echo "Set the system clipboard text. The text to set is either supplied as arguments or read from stdin if no arguments are given."
- echo ""
exit 0
}
show_usage () {
echo "Usage: $SCRIPTNAME"
echo "List all contacts."
- echo ""
exit 0
}
show_usage () {
echo "Usage: $SCRIPTNAME [-i hint] [-m] [-p] [-t title]"
echo "Show a text entry dialog."
- echo ""
echo " -i hint the input hint to show when the input is empty"
echo " -m use a textarea with multiple lines instead of a single"
echo " -p enter the input as a password"
echo " -t title the title to show for the input prompt"
- echo ""
exit 0
}
show_usage () {
echo "Usage: $SCRIPTNAME [-d description] [-t title] url-to-download"
echo "Download a resource using the system download manager."
- echo ""
echo " -d description description for the download request notification"
echo " -t title title for the download request notification"
- echo ""
exit 0
}
show_usage () {
echo "Usage: $SCRIPTNAME"
echo "Query the infrared transmitter's supported carrier frequencies."
- echo ""
exit 0
}
show_usage () {
echo "Usage: $SCRIPTNAME -f frequency pattern"
echo "Transmit an infrared pattern. The pattern is specified in comma-separated on/off intervals, such as '20,50,20,30'. Only patterns shorter than 2 seconds will be transmitted."
- echo ""
echo " -f frequency IR carrier frequency in Hertz"
- echo ""
exit 0
}
show_usage () {
echo "usage: $SCRIPTNAME [-p provider] [-r request]"
echo "Get the device location."
- echo ""
echo " -p provider location provider [gps/network/passive] (default: gps)"
echo " -r request kind of request to make [once/last/updates] (default: once)"
- echo ""
exit 0
}
show_usage () {
echo "Usage: $SCRIPTNAME [-a action] [-c content-type] [-d] [-t title] [file]"
echo "Share a file specified as argument or the text received on stdin if no file argument is given."
- echo ""
echo " -a action which action to performed on the shared content:"
echo " edit/send/view (default:view)"
echo " -c content-type content-type to use (default: guessed from file extension,"
echo " -d share to the default receiver if one is selected"
echo " instead of showing a chooser"
echo " -t title title to use for shared content (default: shared file name)"
- echo ""
exit 0
}
show_usage () {
echo "Usage: termux-sms-inbox [-d] [-l limit] [-n] [-o offset]"
echo "List received SMS messages."
- echo ""
echo " -d show dates when messages were created"
echo " -l limit offset in sms list (default: $PARAM_LIMIT)"
echo " -n show phone numbers"
echo " -o offset offset in sms list (default: $PARAM_OFFSET)"
- echo ""
exit 0
}
show_usage () {
echo "Usage: $SCRIPTNAME -n number[,number2,number3,...] [text]"
echo "Send a SMS message to the specified recipient number(s). The text to send is either supplied as arguments or read from stdin if no arguments are given."
- echo ""
echo " -n number(s) recipient number(s) - separate multiple numbers by commas"
- echo ""
exit 0
}
show_usage () {
echo "Usage: $SCRIPTNAME"
echo "Get information about all observed cell information from all radios on the device including the primary and neighboring cells."
- echo ""
exit 0
}
show_usage () {
echo "Usage: $SCRIPTNAME"
echo "Get information about the telephony device."
- echo ""
exit 0
}
show_usage () {
echo "Usage: termux-toast [-s] [text]"
echo "Show text in a Toast (a transient popup). The text to show is either supplied as arguments or read from stdin if no arguments are given."
- echo ""
echo " -s only show the toast for a short while"
- echo ""
exit 0
}
show_usage () {
echo "Usage: $SCRIPTNAME"
echo "Get information about the available text-to-speech (TTS) engines. The name of an engine may be given to the termux-tts-speak command using the -e option."
- echo ""
exit 0
}
show_usage () {
echo "Usage: $SCRIPTNAME [-e engine] [-l language] [-n region] [-v variant] [-p pitch] [-r rate] [-s stream] [text-to-speak]"
echo "Speak text with a system text-to-speech (TTS) engine. The text to speak is either supplied as arguments or read from stdin if no arguments are given."
- echo ""
echo " -e engine TTS engine to use (see termux-tts-engines)"
echo " -l language language to speak in (may be unsupported by the engine)"
echo " -n region region of language to speak in"
echo " (2.0 is twice the normal speech rate)."
echo " -s stream audio stream to use (default:NOTIFICATION), one of:"
echo " ALARM, MUSIC, NOTIFICATION, RING, SYSTEM, VOICE_CALL"
- echo ""
exit 0
}
show_usage () {
echo "Usage: $SCRIPTNAME [-d duration] [-f]"
echo "Vibrate the device."
- echo ""
echo " -d duration the duration to vibrate in ms (default:1000)"
echo " -f force vibration even in silent mode"
- echo ""
exit 0
}