package icon

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.43 (43) suggested Added on 2020-05-06

    This version requires Android 7.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) only in the foreground
      This app can get your location based on network sources such as cell towers and Wi-Fi networks, but only when the app is in the foreground. These location services must be turned on and available on your phone for the app to be able to use them.
    • access precise location only in the foreground
      This app can get your exact location only when it is in the foreground. 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 biometric hardware
      Allows the app to use biometric hardware for authentication
    • run at startup
      Allows the app to have itself started as soon as the system has finished booting. This can make it take longer to start the phone and allow the app to slow down the overall phone by always running.
    • request install packages
      Allows an application to request installation of packages.
    • request delete packages
      Allows an application to request deletion of packages.
    • use fingerprint hardware
      Allows the app to use fingerprint hardware for authentication

    Download APK 2.8 MiB PGP Signature

  • Version 0.42 (42) - Added on 2020-03-30

    This version requires Android 7.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) only in the foreground
      This app can get your location based on network sources such as cell towers and Wi-Fi networks, but only when the app is in the foreground. These location services must be turned on and available on your phone for the app to be able to use them.
    • access precise location only in the foreground
      This app can get your exact location only when it is in the foreground. 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 biometric hardware
      Allows the app to use biometric hardware for authentication
    • run at startup
      Allows the app to have itself started as soon as the system has finished booting. This can make it take longer to start the phone and allow the app to slow down the overall phone by always running.
    • request install packages
      Allows an application to request installation of packages.
    • request delete packages
      Allows an application to request deletion of packages.
    • use fingerprint hardware
      Allows the app to use fingerprint hardware for authentication

    Download APK 2.0 MiB PGP Signature

  • Version 0.41 (41) - Added on 2020-02-26

    This version requires Android 7.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) only in the foreground
      This app can get your location based on network sources such as cell towers and Wi-Fi networks, but only when the app is in the foreground. These location services must be turned on and available on your phone for the app to be able to use them.
    • access precise location only in the foreground
      This app can get your exact location only when it is in the foreground. 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 biometric hardware
      Allows the app to use biometric hardware for authentication
    • run at startup
      Allows the app to have itself started as soon as the system has finished booting. This can make it take longer to start the phone and allow the app to slow down the overall phone by always running.
    • request install packages
      Allows an application to request installation of packages.
    • request delete packages
      Allows an application to request deletion of packages.
    • use fingerprint hardware
      Allows the app to use fingerprint hardware for authentication

    Download APK 2.0 MiB PGP Signature