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

231 Commits

Author SHA1 Message Date
Henrik Grimler
6051e19c67 CallLogAPI: remove options since the CallLogAPI isn't available 2019-08-11 16:46:55 +02:00
Henrik Grimler
dc93861cfb ClipboardAPI: make it work with json implementation
Might be slower/not work when piping a lot of data to termux-clipboard-set.
2019-07-23 20:38:44 +02:00
Henrik Grimler
ca0f14f440 Fix Dialog error 2019-07-23 20:37:05 +02:00
Henrik Grimler
82108b3933 TermuxApiReceiver: remove api_method check
Belongs in TermuxApiService.java
2019-07-23 20:37:05 +02:00
Henrik Grimler
93de5a398b JobScheduler: change to json implementation 2019-07-23 20:37:05 +02:00
Kieran Coldron
296d11ebc0 fix toasts in Service, fix notifcations 2019-07-23 20:36:45 +02:00
Kieran Coldron
50437879a1 fix ToastAPI 2019-07-23 20:36:45 +02:00
Kieran Coldron
cc217c8bf5 remove derp 2019-07-23 20:36:45 +02:00
Kieran Coldron
aafed05f77 rewrite socket recieve 2019-07-23 20:36:45 +02:00
Kieran Coldron
6fc5a09ffa change majority of app to use sockets with json instead of intents 2019-07-23 20:36:45 +02:00
Fredrik Fornwall
9ccc137c04 Bump version to 0.33 2019-05-30 01:30:12 +02:00
Ben Moran
61262f7510 Show pending job state at end of command, state if no pending jobs 2019-05-30 00:43:46 +02:00
Ben Moran
51a02f4fd8 Support cancel, cancelAll and pending in JobScheduler 2019-05-30 00:43:46 +02:00
Ben Moran
dce672f671 Better JobInfo formatting 2019-05-30 00:43:46 +02:00
Tom Yan
e2d0176514 fix termux/termux-app#995 on the java side 2019-05-30 00:42:52 +02:00
Fredrik Fornwall
9dcfc91174 Update android gradle plug-in 2019-05-30 00:36:37 +02:00
Fredrik Fornwall
b871f04beb Add a versionName gradle task 2019-05-29 23:30:23 +02:00
Fredrik Fornwall
1d5a3fe813 Bump version to 0.32 2019-03-20 00:09:30 +01:00
Fredrik Fornwall
de44896a01 Remove call log and SMS permissions
These are no longer permitted by Google:
https://play.google.com/about/privacy-security-deception/permissions/
2019-03-20 00:08:32 +01:00
Fredrik Fornwall
6ac4c08d97 Update android gradle plug-in 2019-03-20 00:01:44 +01:00
Fredrik Fornwall
b1fdd3b483 Bump version to 0.31 2019-02-05 23:17:01 +01:00
Fredrik Fornwall
1cdedb72a6 Enable java 8 2019-02-05 23:05:53 +01:00
Fredrik Fornwall
10b60b14df Fix some Android Studio warnings 2019-02-05 22:57:39 +01:00
Fredrik Fornwall
cdb18598b2 Never throw Exception from BroadcastReceiver 2019-02-05 22:57:12 +01:00
Fredrik Fornwall
c855e50613 Update gradle 2019-02-05 22:56:50 +01:00
Fredrik Fornwall
7099047d3d Cleanup imports 2019-02-05 22:54:28 +01:00
Nenad Ilic
8ae61a3e33 Revert the Dialog Activity to FLAG_ACTIVITY_NEW_TASK
The fix relates to issue #228
2019-02-05 22:52:06 +01:00
Fredrik Fornwall
97252ccc08 Remove .idea from version control 2019-01-25 02:45:26 +01:00
Fredrik Fornwall
2832a464c3 Update android gradle plug-in 2019-01-25 02:43:33 +01:00
Fredrik Fornwall
7631220fc1 Bump version to 0.30 2019-01-25 02:43:24 +01:00
饺子w
3cf36400e2 add brightness mode (#234) 2019-01-25 01:08:40 +01:00
tomty89
3bfb11fe0f MicRecoderAPI: a few enhancements (#248)
* MicRecorderAPI: allow duration limit to be disabled with zero or negative

* MicRecorderAPI: avoid unnecessary MediaRecorder parameter in RecorderCommandHandler.handle()

* MicRecorderAPI: allow encoder and format to be set by user

All supported encoders can be set with their names. Unless a format
is set explicitly with its corresponding integer, a suitable format
would be chosen automatically for the chosen encoder.

* MicRecorderAPI: allow AudioSource to be set by user

Just in case, so it can only be set with the source's corresponding
integer.

* MicRecorderAPI: allow bit rate, sampling rate and number of channels to be set by user

* MicRecorderAPI: a couple of fixes

Have year before month and day in the default file name for better
sorting. Also fix the extension name in it for automatic format
selection. As we want the file to have extension name by default,
we have to pick a default format/encoder. AAC is chosen because it
is probably the most compatible one among different platforms.

* MicRecorderAPI: replace all getAbsoluteFile() with getAbsolutePath()

None of them were used in places where it should be a File.

* MicRecorderAPI: properly report unlimited MaxDuration

* MicRecorderAPI: make sure the recorder is released when not used

* MicRecorderAPI: remove aac_eld/he_aac/vorbis support

They are at least problematic on my phone. They either fail to work
or crash the API app. Sometimes the crash is even unrecoverable.
2019-01-25 01:07:53 +01:00
Fredrik Fornwall
8b33bba7dc Bump version to 0.29 2019-01-10 23:59:20 +01:00
Fredrik Fornwall
7cbf86407b Use vector icon 2019-01-10 23:58:06 +01:00
Fredrik Fornwall
515ada5a6a Update android design support library 2019-01-10 23:57:58 +01:00
Fredrik Fornwall
dc481579b8 Update android gradle plug-in 2019-01-10 23:52:42 +01:00
Fredrik Fornwall
d072defc08 Update gradle version 2019-01-10 23:39:29 +01:00
Ben Moran
d3e9f14d23 Add JobSchedulerAPI (#235) 2019-01-03 02:06:19 +01:00
Henrik Grimler
fb458559bc Add issue templates (#238) 2019-01-03 02:05:59 +01:00
Fredrik Fornwall
7462684498 Bump version to 0.28 2018-09-27 21:29:50 +02:00
Kaan Karaagacli
e3a02a5a85 Add KeystoreAPI (#224) 2018-09-27 20:16:53 +02:00
Fredrik Fornwall
033e4dfdd2 Cleanup some Android Studio lint warnings 2018-08-28 03:00:48 +02:00
Fredrik Fornwall
75c48ad6d5 Do not trim input when setting clipboard content
See #195.
2018-08-28 02:59:57 +02:00
Fredrik Fornwall
6b7b98179b Remove unused imports 2018-08-27 22:05:13 +02:00
Kieran Coldron
9c6f99df8e Notification Improvements (#209)
* Persistent notifications and disable alerts on edits

* Add images, add media style, refactor PendingIntent code

* Make styletype check null safe
2018-08-26 01:33:46 +02:00
Kieran Coldron
82bc794826 Added values array and indexs (#212)
Add index of values


Added index for other dialogs
2018-08-26 01:32:34 +02:00
Fredrik Fornwall
3eea604ff9 Remove outdated comment 2018-08-26 01:31:13 +02:00
Fredrik Fornwall
043d69bb7b Compile for and target android-28 2018-08-26 01:19:05 +02:00
Fredrik Fornwall
372465d555 Update Android Plugin for Gradle 2018-08-26 01:18:49 +02:00
Greg Burch
297a752eb8 Changed provider to scope to all messages. (#214)
* Changed provider to scope to all messages. Future update should be able to provide a flag on which scope the user would like to request. All, Sent, Draft, Inbox, Outbox

* Add ability to specify the type of message to query for
2018-08-26 01:14:12 +02:00