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

179 Commits

Author SHA1 Message Date
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
749e68b6f2 Gradle config update 2015-09-04 11:54:17 +02:00
Fredrik Fornwall
48120fa559 Gradle config tweaking 2015-08-01 03:50:36 +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
05c80a16d7 Update gradle 2015-08-01 01:45:27 +02:00
Fredrik Fornwall
f510b39d74 Remove log spam 2015-07-31 03:10:23 +02:00
Fredrik Fornwall
9f5d2b37b7 Center toasts 2015-07-31 01:14:18 +02:00
Fredrik Fornwall
9d1a918d03 Add PhotoAPI, ShareAPI and ToastAPI 2015-07-29 04:19:45 +02:00
Fredrik Fornwall
c4ef079206 Bump version to 0.3 2015-07-26 02:26:33 +02:00
Fredrik Fornwall
1f2e562ac7 Initial push
The project was just converted from Eclipse to Android Studio, so
there may be some glitches.
2015-07-26 02:23:21 +02:00