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

54 Commits

Author SHA1 Message Date
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
Fredrik Fornwall
2880427dfe Improve PhotoAPI 2015-09-20 22:35:02 +02:00
Fredrik Fornwall
b3e5882bc6 Compare against correct variable 2015-09-20 22:21:51 +02:00
Fredrik Fornwall
26801a68cf termux-share: Default to application/octet-stream
Also expose the file name in query().
2015-09-20 22:09:54 +02:00
Fredrik Fornwall
fe98a42faa Bump version to 0.4 2015-09-04 16:43:37 +02:00
Fredrik Fornwall
0ea0f250ba Update camera photo API
Try to warmup the camera sensor and focus machinery before
saving JPEG. Should hopefully fix problems with black/empty
images.
2015-09-04 16:42:10 +02:00
Fredrik Fornwall
ead1b8d168 Add information about camera jpeg output size 2015-09-04 15:59:47 +02:00
Fredrik Fornwall
7b32995f9f Lower case file extension before mimetype lookup 2015-09-04 15:46:14 +02:00
Fredrik Fornwall
20252cf9a7 Minor formatting changes only 2015-09-04 14:40:00 +02:00
Fredrik Fornwall
5515c401ce Remove PhotoActivity 2015-08-01 02:43:56 +02:00
Fredrik Fornwall
5880d40624 Android Studio warnings cleanups 2015-08-01 02:43:20 +02:00
Fredrik Fornwall
2d6babcc29 Android Studio warnings cleanups 2015-08-01 02:39:22 +02:00
Fredrik Fornwall
ab1af8b244 Remove unused variables 2015-08-01 02:34:39 +02:00
Fredrik Fornwall
8305dc73a8 Add android:supportsRtl="true" 2015-08-01 02:31:21 +02:00
Fredrik Fornwall
9f90f6fc10 Secure the sharedfiles content provider 2015-08-01 02:26:19 +02:00
Fredrik Fornwall
a107af7568 Project config fixes 2015-08-01 01:56:34 +02:00
Fredrik Fornwall
f510b39d74 Remove log spam 2015-07-31 03:10:23 +02:00