Termux:API

Access Android functions from Termux

Expose basic Android functionality like sending SMS or accessing GPS data to the Termux app. This is an add-on which requires that the main Termux app is installed to use.

  • Read and send sms messages from your terminal.
  • Access device GPS location sensor from scripts.
  • Pipe the result of commands into the device text-to-speech engine.
  • Vibrate the device when something interesting happens.
  • Access the system clipboard from shell scripts.
  • List contacts from the system contact list.

Besides installing this app an additional package is required to install inside Termux:

$ apt install termux-api

Donate

Packages

Although APK downloads are available below to give you the choice, you should be aware that by installing that way you will not receive update notifications and it's a less secure way to download. We recommend that you install the F-Droid client and use that.

Download F-Droid
  • Version 0.33 (33) - Added on 2019-06-03

    This version requires Android 5.0 or newer.

    It is built and signed by F-Droid, and guaranteed to correspond to this source tarball.

    Permissions
    • directly call phone numbers
      Allows the app to call phone numbers without your intervention. This may result in unexpected charges or calls. Note that this doesn't allow the app to call emergency numbers. Malicious apps may cost you money by making calls without your confirmation.
    • read your contacts
      Allows the app to read data about your contacts stored on your phone, including the frequency with which you've called, emailed, or communicated in other ways with specific individuals. This permission allows apps to save your contact data, and malicious apps may share contact data without your knowledge.
    • take pictures and videos
      This app can take pictures and record videos using the camera at any time.
    • record audio
      This app can record audio using the microphone at any time.
    • access approximate location (network-based)
      This app can get your location based on network sources such as cell towers and Wi-Fi networks. These location services must be turned on and available on your phone for the app to be able to use them.
    • access precise location (GPS and network-based)
      This app can get your location based on GPS or network location sources such as cell towers and Wi-Fi networks. These location services must be turned on and available on your phone for the app to be able to use them. This may increase battery consumption.
    • set wallpaper
      Allows the app to set the system wallpaper.
    • control vibration
      Allows the app to control the vibrator.
    • transmit infrared
      Allows the app to use the phone's infrared transmitter.
    • read phone status and identity
      Allows the app to access the phone features of the device. This permission allows the app to determine the phone number and device IDs, whether a call is active, and the remote number connected by a call.
    • view network connections
      Allows the app to view information about network connections such as which networks exist and are connected.
    • view Wi-Fi connections
      Allows the app to view information about Wi-Fi networking, such as whether Wi-Fi is enabled and name of connected Wi-Fi devices.
    • connect and disconnect from Wi-Fi
      Allows the app to connect to and disconnect from Wi-Fi access points and to make changes to device configuration for Wi-Fi networks.
    • modify system settings
      Allows the app to modify the system's settings data. Malicious apps may corrupt your system's configuration.
    • use fingerprint hardware
      Allows the app to use fingerprint hardware for authentication

    Download APK 1.7 MiB PGP Signature

  • Version 0.32 (32) - Added on 2019-03-22

    This version requires Android ? or newer.

    It is built and signed by F-Droid, and guaranteed to correspond to this source tarball.

    Permissions
    • directly call phone numbers
      Allows the app to call phone numbers without your intervention. This may result in unexpected charges or calls. Note that this doesn't allow the app to call emergency numbers. Malicious apps may cost you money by making calls without your confirmation.
    • read your contacts
      Allows the app to read data about your contacts stored on your phone, including the frequency with which you've called, emailed, or communicated in other ways with specific individuals. This permission allows apps to save your contact data, and malicious apps may share contact data without your knowledge.
    • take pictures and videos
      This app can take pictures and record videos using the camera at any time.
    • record audio
      This app can record audio using the microphone at any time.
    • access approximate location (network-based)
      This app can get your location based on network sources such as cell towers and Wi-Fi networks. These location services must be turned on and available on your phone for the app to be able to use them.
    • access precise location (GPS and network-based)
      This app can get your location based on GPS or network location sources such as cell towers and Wi-Fi networks. These location services must be turned on and available on your phone for the app to be able to use them. This may increase battery consumption.
    • set wallpaper
      Allows the app to set the system wallpaper.
    • control vibration
      Allows the app to control the vibrator.
    • transmit infrared
      Allows the app to use the phone's infrared transmitter.
    • read phone status and identity
      Allows the app to access the phone features of the device. This permission allows the app to determine the phone number and device IDs, whether a call is active, and the remote number connected by a call.
    • view network connections
      Allows the app to view information about network connections such as which networks exist and are connected.
    • view Wi-Fi connections
      Allows the app to view information about Wi-Fi networking, such as whether Wi-Fi is enabled and name of connected Wi-Fi devices.
    • connect and disconnect from Wi-Fi
      Allows the app to connect to and disconnect from Wi-Fi access points and to make changes to device configuration for Wi-Fi networks.
    • modify system settings
      Allows the app to modify the system's settings data. Malicious apps may corrupt your system's configuration.
    • use fingerprint hardware
      Allows the app to use fingerprint hardware for authentication

    Download APK 1.7 MiB PGP Signature

  • Version 0.31 (31) - Added on 2019-02-07

    This version requires Android ? or newer.

    It is built and signed by F-Droid, and guaranteed to correspond to this source tarball.

    Permissions
    • read call log
      This app can read your call history.
    • read your text messages (SMS or MMS)
      This app can read all SMS (text) messages stored on your phone.
    • send and view SMS messages
      Allows the app to send SMS messages. This may result in unexpected charges. Malicious apps may cost you money by sending messages without your confirmation.
    • directly call phone numbers
      Allows the app to call phone numbers without your intervention. This may result in unexpected charges or calls. Note that this doesn't allow the app to call emergency numbers. Malicious apps may cost you money by making calls without your confirmation.
    • read your contacts
      Allows the app to read data about your contacts stored on your phone, including the frequency with which you've called, emailed, or communicated in other ways with specific individuals. This permission allows apps to save your contact data, and malicious apps may share contact data without your knowledge.
    • take pictures and videos
      This app can take pictures and record videos using the camera at any time.
    • record audio
      This app can record audio using the microphone at any time.
    • access approximate location (network-based)
      This app can get your location based on network sources such as cell towers and Wi-Fi networks. These location services must be turned on and available on your phone for the app to be able to use them.
    • access precise location (GPS and network-based)
      This app can get your location based on GPS or network location sources such as cell towers and Wi-Fi networks. These location services must be turned on and available on your phone for the app to be able to use them. This may increase battery consumption.
    • set wallpaper
      Allows the app to set the system wallpaper.
    • control vibration
      Allows the app to control the vibrator.
    • transmit infrared
      Allows the app to use the phone's infrared transmitter.
    • read phone status and identity
      Allows the app to access the phone features of the device. This permission allows the app to determine the phone number and device IDs, whether a call is active, and the remote number connected by a call.
    • view network connections
      Allows the app to view information about network connections such as which networks exist and are connected.
    • view Wi-Fi connections
      Allows the app to view information about Wi-Fi networking, such as whether Wi-Fi is enabled and name of connected Wi-Fi devices.
    • connect and disconnect from Wi-Fi
      Allows the app to connect to and disconnect from Wi-Fi access points and to make changes to device configuration for Wi-Fi networks.
    • modify system settings
      Allows the app to modify the system's settings data. Malicious apps may corrupt your system's configuration.
    • use fingerprint hardware
      Allows the app to use fingerprint hardware for authentication

    Download APK 1.7 MiB PGP Signature