Benoit Marty
84f7eb29e0
Add robustness when getting data from cursors.
...
Use androidx.core.database extension for better nullability check, and ignore uncomplete data.
2021-12-01 16:09:12 +01:00
Benoit Marty
b26ea752b5
ktlint
2021-11-15 12:25:42 +01:00
Benoit Marty
03019fdfd9
Fix lint issue "Outside Range"
...
Ensure that column index is not -1
2021-11-15 12:24:48 +01:00
Benoit Marty
453e6daa93
Make the Cursor extensions public
...
And make the code more efficient, since we call getColumnIndexOrNull only once and not on each cursor iteration
2021-11-15 12:24:48 +01:00
Benoit Marty
343ea42ef5
Fix issue on Android 21
2021-07-15 17:30:48 +02:00
Onuray Sahin
9d48b399df
Voice message playback implementation.
2021-07-01 10:49:04 +03:00
Onuray Sahin
cb96886568
Send voice message.
2021-06-17 16:18:20 +03:00
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