Commit Graph

17 Commits

Author SHA1 Message Date
Fredrik Fornwall
0ec2b70462 termux-api: Start to cleanup api calling scripts
Start using shell built-in getops and remove long arguments.

Make both clipboard-set and sms-send either take argument or read
from stdin.  Fixes https://github.com/termux/termux-api/issues/14
2016-04-19 16:35:23 +02:00
Fredrik Fornwall
1b58032556 termux-api: Bump version to 0.15 2016-04-16 17:15:21 -04:00
Fredrik Fornwall
8353c56c0b Modify setup in wrappers for /system/bin/ commands
On several devices several tools in /system/bin/ requires
LD_LIBRARY_PATH to contain /system/lib(64). Check for the bit-ness
with `getprop ro.product.cpu.abilist64`  and setup the environment
accordingly.

Closes #193.
Closes #206.
2016-04-10 20:20:17 -04:00
Fredrik Fornwall
8cd4ab4e6f termux-api: Ensure /system/bin/am_process in PATH
Closes https://github.com/termux/termux-api/issues/12
2016-03-22 11:14:56 -04:00
Fredrik Fornwall
08d717918a termux-api: Add termux-vibrate -f/--force option 2016-01-12 08:05:17 -05:00
Fredrik Fornwall
fa5ce6c493 termux-api: Handle path whitespace in termux-api
This closes #120.
2016-01-04 17:16:55 -05:00
Fredrik Fornwall
9228c43493 termux-api: Change termux-clipboard-set
Make termux-clipboard-set set the clipboard to the arguments if
given, and only take stdin as input if no arguments given.

Closes https://github.com/termux/termux-api/issues/8
2015-12-29 18:15:33 -05:00
Fredrik Fornwall
2810eedb42 Add --multi-line and --title options to termux-dialog
See https://github.com/termux/termux-app/issues/3
2015-10-27 02:14:37 +01:00
Fredrik Fornwall
cc1ae02e2e termux-api: Cleanup and put termux-api binary in libexec 2015-08-14 15:27:47 -04:00
Fredrik Fornwall
879a9ab402 termux-api: Bump version 2015-07-30 21:19:50 -04:00
Fredrik Fornwall
96015885ef termux-api: Updated package in termux-camera-photo
This fixes #2
2015-07-27 03:37:46 -04:00
Fredrik Fornwall
621ac5f19a termux-api: Fix mixup of tts methods 2015-07-26 20:35:04 -04:00
Fredrik Fornwall
a0010caca3 Move termux-user from termux-api to termux-tools
Also add a am wrapper script which clears
LD_LIBRARY_PATH before calling /system/bin/am.
2015-07-18 05:42:44 -04:00
Fredrik Fornwall
7849e89bc6 termux-api: Add Werror 2015-07-15 19:30:22 -04:00
Fredrik Fornwall
f77975aa40 Update termux-api 2015-06-30 18:56:50 -04:00
Fredrik Fornwall
c409b567ca Fix termux-dialog command 2015-06-30 15:35:44 -04:00
Fredrik Fornwall
59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00