这是indexloc提供的服务,不要输入任何密码
Skip to content

termux/termux-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Termux API

This is an app exposing Android API to command line usage and scripts or programs.

The termux-api client helper binary

The client helper binary (termux-api.c) generates two linux anonymous namespace sockets, and passes their address as in: - /system/bin/am broadcast ${SERVICE_CLASS} --es socket_input ${INPUT_SOCKET} --es socket_output ${OUTPUT_SOCKET} where the sockets are used to transfer: - input through stdin to the helper binary are forwarded to java code - java code may output feedback which are forwarded to the stdout of the helper binary

Client scripts

Client scripts which processes command line arguments before calling the termux-api helper binary are available: - The termux-api package

About

Termux add-on app which exposes device functionality as API to command line programs.

Topics

Resources

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages