Commit graph

26 commits

Author SHA1 Message Date
Benoit Marty
d8bdf8e625 Rename file (ktlint) 2021-05-04 17:24:48 +02:00
Benoit Marty
f7949100a7 Sent video does not contains duration (#3272)
When using the file picker (and not the media picker).
Now when using the file picker, we detect the mime type and we send the correct event
Also some code duplication
2021-05-03 21:14:06 +02:00
Benoit Marty
d9ffce7e0d Add option to record a video from the camera
Replace #2411
2021-05-03 21:13:47 +02:00
Benoit Marty
30a54cfdbc User can now select video when selecting Gallery to send attachments to a room 2021-05-03 21:13:47 +02:00
Onuray Sahin
23623b8895 Migrate to Android 11, API 30. 2021-01-04 17:12:49 +03:00
Benoit Marty
61ed436c44 Move some method to the companion 2020-11-05 15:41:52 +01:00
Benoit Marty
573ec29829 ktlint cleanup 2020-10-07 19:10:53 +02:00
Benoit Marty
e224ae62b4 Do not use deprecated Activity.startActivityForResult anymore - step 3 2020-10-07 18:27:25 +02:00
Benoit Marty
ff0f42900d Do not use deprecated Fragment.startActivityForResult anymore 2020-10-07 16:02:01 +02:00
Benoit Marty
0bb75eed1f Finish what has been started on #1376: use Intent.ACTION_GET_CONTENT instead of Intent.ACTION_OPEN_DOCUMENT for other pickers 2020-09-29 16:41:55 +02:00
dkanada
3442ebc1c3 improve gallery intent for certain apps 2020-09-04 21:01:49 +09:00
Benoit Marty
67fc2feacb Rename package im.vector.riotx.multipicker to im.vector.lib.multipicker 2020-08-03 18:35:02 +02:00
Tobias Preuss
9d191a783d Let variables be "val" if possible. 2020-06-23 18:23:39 +02:00
onurays
a01482dca4 Use Timber log instead of printStackTrace. 2020-03-25 18:51:55 +03:00
onurays
5db1010e47 Catch exceptions if the file cannot be decoded. 2020-03-25 18:39:35 +03:00
onurays
6130a0a654 Remove unused toString(). 2020-03-25 18:34:04 +03:00
onurays
3c1e1090e7 Avoid UNCHECKED_CAST. 2020-03-25 18:20:34 +03:00
onurays
f9aed28732 grantUriPermission to handle incoming sharing. 2020-03-25 15:51:15 +03:00
onurays
6bf89aeac9 Remove JPEG_ prefix from file name. 2020-03-24 12:37:37 +03:00
onurays
e583c03751 Add documentation. 2020-03-24 12:32:37 +03:00
onurays
d20b1cb64a Add documentation. 2020-03-24 12:15:14 +03:00
onurays
727d86236b ImageUtils created with helper functions. 2020-03-24 11:31:27 +03:00
onurays
2651f82337 Refactor duplicated code. 2020-03-24 11:03:41 +03:00
onurays
f7fd23b153 App integration to the new multipicker library. 2020-03-23 16:31:32 +03:00
onurays
5b875e0571 CameraPicker & incoming share implementation. 2020-03-22 18:27:59 +03:00
onurays
6db0de321c Initial implementation of multipicker. 2020-03-20 12:12:59 +03:00