1
0
mirror of https://github.com/danog/termux-api.git synced 2024-12-11 17:09:45 +01:00
Commit Graph

70 Commits

Author SHA1 Message Date
David Kramer
89e2b1ed95 Add MediaPlayerAPI (#146) 2018-04-02 01:27:13 +02:00
Fredrik Fornwall
efc06c4a32 Remove unused import 2018-04-02 00:55:13 +02:00
David Kramer
eab70c318f Add SensorAPI (#147) 2018-04-02 00:51:14 +02:00
tomty89
11b84d9f9c AudioAPI: fix build-time error (#145) 2018-04-02 00:49:35 +02:00
tomty89
9552c418ba AudioAPI: avoid redundant code (#134) 2018-03-23 00:41:42 +01:00
David Kramer
91b8ed4249 Adds TorchAPI implementation (#137) 2018-03-23 00:22:43 +01:00
Fredrik Fornwall
adfc184011 Fix typo 2018-02-05 01:03:35 +01:00
Fredrik Fornwall
1f3eee8e2e Format code 2018-02-05 00:53:01 +01:00
its-pointless
7d54c4d629 Update Audiotrack API (#129) 2018-02-05 00:46:01 +01:00
Ian Brunelli
32c2781664 Add MediaScannerAPI (#123) 2018-02-05 00:41:27 +01:00
its-pointless
a544de8c1b gets info for fast_mixer (#126) 2018-02-01 22:22:07 +01:00
Fredrik Fornwall
9e67ca2a57 termux-dialog: Make sure to close client 2017-04-09 23:26:12 +02:00
Fredrik Fornwall
ee5ed49fd7 Suport termux-telephony-call 2017-04-09 19:36:33 +02:00
Fredrik Fornwall
b72a223b4c termux-notification: Support --on-delete action
This makes it possible to act on the notification being dismissed.

Server side part of https://github.com/termux/termux-api/issues/81
2017-04-09 19:13:24 +02:00
Fredrik Fornwall
3e1bbea265 termux-dialog: Exit when back is pressed
This treats pressing the back button the same as pressing cancel.

Fixes #78.
2017-04-07 00:17:43 +02:00
Fredrik Fornwall
341e5f395a Add comment about default tts audio stream 2017-02-20 02:03:48 +01:00
Alain Kalker
56b5a1257c termux-tts-speak: Use STREAM_MUSIC as default stream (#67)
This fixes #66.
2017-02-20 01:59:02 +01:00
Wetitpig
cff02a5614 Correct Typo (#57)
"Overhead" changed to "Overheat"
2017-01-26 07:54:19 +01:00
Fredrik Fornwall
3d2ff5fe60 Hack to make led work without vibrating
It seems that led coloring does not work without vibration. So if
the led color has been specified but not vibration, default to a
dummy vibrate={0}.
2017-01-10 00:39:52 +01:00
Fredrik Fornwall
adc9b4eccc Update the NotificationAPI 2017-01-05 03:47:52 +01:00
Fredrik Fornwall
fe51705dde Add WifiAPI 2017-01-05 03:46:46 +01:00
Fredrik Fornwall
79a2c03676 Update to new Termux icon 2017-01-05 02:33:20 +01:00
Fredrik Fornwall
41341bd0ca Clean up log calls 2016-12-04 17:36:33 +01:00
Fredrik Fornwall
85180038e3 Add the roundIcon to the manifest 2016-12-04 04:27:53 +01:00
Fredrik Fornwall
6e532522aa Use the new vector icon 2016-12-04 04:26:18 +01:00
Fredrik Fornwall
899a7e353c Add options to control notifictions 2016-12-04 04:24:29 +01:00
Fredrik Fornwall
8927dd540b Start a command to request a file from the system
Using the Storage Access Framework through something like

	termux-storage-get output-file

will allow one to get files from e.g. usb memory sticks.
2016-12-04 02:42:55 +01:00
Fredrik Fornwall
378d4f19d5 Better flow for requesting permissions 2016-11-29 22:36:10 +01:00
Zepp Lu
05a9ad60bd now able to send message longer than the maximum size 2016-09-26 00:15:12 +08:00
garwiz
50672b0d51 Added optional region and variant params to TTS intent 2016-09-04 15:07:34 +02:00
Fredrik Fornwall
1f57769116 Manifest file cleanup 2016-08-22 14:43:06 +02:00
Eduardo Pereira de Sousa
c927b7d5a5 Fixed unended JSON object for TelephonyDeviceInfo 2016-08-09 23:39:29 -03:00
Fredrik Fornwall
1a85aeffb5 Format code (mostly tab -> whitespace diff) 2016-06-06 00:23:00 +02:00
Fredrik Fornwall
c8b6bb67d2 Mark used hardware features as optional 2016-04-26 03:11:00 +02:00
Fredrik Fornwall
6be2b473af Add infrared and telephony api:s 2016-04-26 03:05:39 +02:00
Fredrik Fornwall
a83a77c508 Support multiple recipients when sending SMS 2016-04-24 23:52:55 +02:00
Fredrik Fornwall
151717e2fb TextToSpeechAPI: Make stream configurable 2016-04-23 15:14:02 +02:00
Fredrik Fornwall
0fd66d37e3 termux-tts-speak: Use STREAM_NOTIFICATION 2016-04-20 11:24:02 +02:00
Fredrik Fornwall
6563446522 termux-tts-speak: Use STREAM_ALARM (fixes #13) 2016-04-20 00:31:01 +02:00
Fredrik Fornwall
0efb8bc1ee termux-camera-photo: Drop attempt to use previews
This doesn't work reliable across devices and is of questionable
value. Fixes #11. Fixes #15.
2016-04-20 00:18:40 +02:00
Fredrik Fornwall
7f050bded3 Request runtime permissions as necessary on 6.0+
Fixes #19.
2016-04-20 00:16:57 +02:00
Fredrik Fornwall
bf5dec5c0d termux-vibrate: Do not vibrate when in silent mode
Do not vibrate when in silent mode unless the -f/--force option is
given.
2016-01-12 14:13:59 +01:00
Fredrik Fornwall
7170f8dcde Remove unused annotations 2016-01-12 14:13:59 +01:00
Fredrik Fornwall
631401f1fb Add a v2 of termux-clipboard for using stdin 2016-01-12 14:13:59 +01:00
Ted Stein
4b3a1528b0 PhotoAPI: Take sensor orientation into account.
On a Nexus 5X, the old code would take pictures that were upside-down.
Apparently, the Android device standards require that the long edge of the
sensor must align with the long edge of the device, but doesn't say which of the
two ways to satisfy this manufacturers should pick. This change makes PhotoAPI
generate right-side-up pictures in both conditions.

Tested on a Nexus 7 (second-gen) and a Nexus 5X.
2015-11-29 01:27:21 -08:00
Fredrik Fornwall
f9f439feb0 Improve ShareAPI to work in more cases 2015-11-28 23:38:34 +01:00
Fredrik Fornwall
d5549938df Cleanup build.gradle 2015-11-28 11:56:37 +01:00
Fredrik Fornwall
1fb834ca98 Improve termux-dialog to support password and titles
Also bump version to 0.5.

See https://github.com/termux/termux-app/issues/3
2015-10-27 02:16:01 +01:00
Fredrik Fornwall
7719bd7c59 Remove stray char 2015-10-27 01:45:33 +01:00
Fredrik Fornwall
d5768dc4e5 Add support for password input dialogs 2015-10-27 00:13:06 +01:00