Commit Graph

1566 Commits

Author SHA1 Message Date
darthpaul 9c021c655b do some optimisations for pre SDK 29 devices 2022-07-13 16:39:18 +01:00
darthpaul 6bc74d8066 fix warnings in activity_main
- add contentDescription attribute on the ImageView icons for accessibility
2022-07-13 16:16:17 +01:00
Rex_sa e460cc9a43
Translated using Weblate (Arabic)
Currently translated at 100.0% (3 of 3 strings)

Translation: Simple Mobile Tools/Simple Camera metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera-metadata/ar/
2022-07-13 15:17:14 +02:00
Vitor Henrique f8d8487505
Translated using Weblate (Portuguese (Brazil))
Currently translated at 58.3% (21 of 36 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/pt_BR/
2022-07-13 15:17:14 +02:00
Rex_sa 61e15e3fd6
Translated using Weblate (Arabic)
Currently translated at 100.0% (36 of 36 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/ar/
2022-07-13 15:17:14 +02:00
Tibor Kaputa 91bc6ccf60
Merge pull request #330 from KryptKode/feat/camera-x
Updates/Fixes for CameraX implementation
2022-07-13 08:54:12 +02:00
Tibor Kaputa 2b4d7db193
Update ChangeResolutionDialogX.kt 2022-07-13 08:53:05 +02:00
Tibor Kaputa 55c4575d03
Update ChangeResolutionDialog.kt 2022-07-13 08:52:36 +02:00
darthpaul 44223d4ba9 refactor VideoQualityManager 2022-07-13 02:54:44 +01:00
darthpaul 99f79e4671 fix settings toolbar 2022-07-13 02:54:32 +01:00
darthpaul 6c1ccd8db7 fix getting video quality 2022-07-13 02:13:02 +01:00
darthpaul 7a55969e6d update commons and camerax 2022-07-13 02:11:38 +01:00
darthpaul 210f3e35c0 use the resolution index instead of the qualities
- store and use the resolution index in Config class for video capture
2022-07-13 01:38:54 +01:00
darthpaul d8ea6d5175 pass rotated resolution to ImageCaptureUsecase
- filter supported resolutions so 0MP resolutions are not selected. CameraX cannot apply these resolutions
2022-07-13 00:54:14 +01:00
Tibor Kaputa c568021e49
Merge pull request #329 from KryptKode/feat/camera-x
Feat/camera x
2022-07-12 23:22:13 +02:00
darthpaul d3d67ec4a4 remove exif info after image capture if user config.savePhotoMetadata == false 2022-07-12 22:15:44 +01:00
Tibor Kaputa b08480a0d1
Merge pull request #328 from weblate/weblate-simple-mobile-tools-simple-camera
Translations update from Hosted Weblate
2022-07-11 09:06:00 +02:00
Tibor Kaputa bfc367c242
Delete strings.xml 2022-07-11 09:05:49 +02:00
Tibor Kaputa 793fb8781b
Delete strings.xml 2022-07-11 09:05:41 +02:00
Anonymous 33ce7395ed
Translated using Weblate (English (India))
Currently translated at 0.0% (0 of 36 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/en_IN/
2022-07-10 23:42:51 +02:00
Weblate 8fc4174ac3
Added translation using Weblate (English (India)) 2022-07-10 23:42:43 +02:00
Anonymous f2b55551b3
Translated using Weblate (English (United Kingdom))
Currently translated at 0.0% (0 of 36 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/en_GB/
2022-07-10 23:41:54 +02:00
Weblate 3620f731de
Added translation using Weblate (English (United Kingdom)) 2022-07-10 23:41:46 +02:00
мачко e4cd6c842f
Translated using Weblate (Bulgarian)
Currently translated at 33.3% (1 of 3 strings)

Translation: Simple Mobile Tools/Simple Camera metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera-metadata/bg/
2022-07-10 22:20:46 +02:00
Metehan Özyürek 9f5594aa08
Translated using Weblate (Turkish)
Currently translated at 66.6% (2 of 3 strings)

Translation: Simple Mobile Tools/Simple Camera metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera-metadata/tr/
2022-07-10 22:20:45 +02:00
мачко 375f8f7601
Translated using Weblate (Bulgarian)
Currently translated at 83.3% (30 of 36 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/bg/
2022-07-10 22:20:45 +02:00
tomechio c7bc397ff2
Translated using Weblate (Finnish)
Currently translated at 86.1% (31 of 36 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/fi/
2022-07-10 22:20:45 +02:00
darthpaul e1f292692a properly ensure RECORD_AUDIO permission is requested during camera initialisation
- since allowBackup is set to true in the manifest,
- it is possible for the app to be launch after a fresh install with mIsInPhotoMode=true in MainActivity
- this commit ensure the audio permission is requested at this point
- if the user denies, then it is initialised in photo mode instead
2022-07-10 18:57:01 +01:00
Tibor Kaputa f1b9bf13fe
Merge pull request #327 from KryptKode/feat/camera-x
fix passing bitmap thumbnail after IMAGE_CAPTURE intent
2022-07-09 08:09:43 +02:00
darthpaul d5e1d61d02 fix passing bitmap thumbnail after IMAGE_CAPTURE intent
- add a new BitmapOutput, returned from the MediaOutputHelper when no output URI is specified in an IMAGE_CAPTURE intent
- in this format, take the picture without actually saving it and return the bitmap
- this behaviour is consistent with the implementation described in the official Android docs https://developer.android.com/training/camera/photobasics#TaskPhotoView
2022-07-09 02:55:41 +01:00
Tibor Kaputa ee48ed6ead
Merge pull request #324 from weblate/weblate-simple-mobile-tools-simple-camera
Translations update from Hosted Weblate
2022-07-08 22:33:44 +02:00
zica 9d655b0893
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (36 of 36 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/zh_Hant/
2022-07-08 22:33:28 +02:00
zmni 15583523df
Translated using Weblate (Indonesian)
Currently translated at 100.0% (36 of 36 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/id/
2022-07-08 22:33:28 +02:00
J. Lavoie 5f6963dd1d
Translated using Weblate (French)
Currently translated at 100.0% (36 of 36 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/fr/
2022-07-08 22:33:28 +02:00
J. Lavoie 676d417d3b
Translated using Weblate (German)
Currently translated at 100.0% (36 of 36 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/de/
2022-07-08 22:33:28 +02:00
Tibor Kaputa 63a5985cfa
Merge pull request #325 from spkprs/patch-2
Update strings.xml
2022-07-08 22:33:25 +02:00
Tibor Kaputa 3c16ba8853
Merge pull request #326 from KryptKode/feat/camera-x
try to handle changing video quality and image resolution
2022-07-08 22:33:14 +02:00
darthpaul 74e2656831 try to handle changing video quality and image resolution
- CameraX video allowed predefined buckets of qualities UHD, FHD, HD, SD (defined in VideoQuality enum),
the CameraXPreview is configured to use the highest quality and
 CameraX will select the closest corresponding resolution supported by the device.
- tentatively add ChangeResolutionDialogX (which would be renamed back to ChangeResolutionDialog) to give user option to select photo resolution and video qualities
- add ImageQualityManager which performs the same operation for getting all resolutions supported by a device using the Camera2 API, as defined in the legacy CameraPreview
- add VideoQualityManager to manage saving/ getting user selected quality.
2022-07-08 00:12:03 +01:00
spkprs 815950e8c1
Update strings.xml 2022-07-05 00:27:17 +03:00
tibbi e00582adbc adding a prepaid build variant 2022-07-04 22:48:52 +02:00
tibbi 60bb5799f3 removing app title, short and long description strings 2022-07-04 22:48:32 +02:00
Tibor Kaputa 01f5b2febf
Merge pull request #323 from weblate/weblate-simple-mobile-tools-simple-camera
Translations update from Hosted Weblate
2022-07-04 22:45:46 +02:00
Tibor Kaputa aec0b9e3c1
Update strings.xml 2022-07-04 22:45:27 +02:00
Tibor Kaputa 536f1e076a
Update strings.xml 2022-07-04 22:44:57 +02:00
Anonymous b9748475b0
Translated using Weblate (Thai)
Currently translated at 0.0% (0 of 39 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/th/
2022-07-04 03:21:14 +02:00
Weblate 5c7e4fd635
Added translation using Weblate (Thai) 2022-07-04 03:21:04 +02:00
Eric 6c33bfc9ba
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (3 of 3 strings)

Translation: Simple Mobile Tools/Simple Camera metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera-metadata/zh_Hans/
2022-07-04 03:21:03 +02:00
Agnieszka C c5a46f27d6
Translated using Weblate (Polish)
Currently translated at 100.0% (3 of 3 strings)

Translation: Simple Mobile Tools/Simple Camera metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera-metadata/pl/
2022-07-04 03:21:02 +02:00
AbsurdUsername ade2be13ba
Translated using Weblate (Italian)
Currently translated at 100.0% (3 of 3 strings)

Translation: Simple Mobile Tools/Simple Camera metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera-metadata/it/
2022-07-04 03:21:02 +02:00
liquidvacuum-by e8e1e8aa78
Translated using Weblate (Belarusian)
Currently translated at 12.8% (5 of 39 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/be/
2022-07-03 22:54:21 +02:00