Commit Graph

1237 Commits

Author SHA1 Message Date
Worldfast 9a6ecd5ac8
Translated using Weblate (Japanese)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/ja/
2022-08-17 04:20:15 +02:00
darthpaul d9193f7494 fix preview and capture resolutions
- adjust the preview so the image captured is what the user sees
- add method MySize.isSupported; current support is for full, 16:9, 4:3 and 1:1 of the highest resolution
- cleanup ImageQualityManager, add method to get the full screen resolution which is just the resolution with the largest width
- change the UI to move settings to the top and remove the auto fading
2022-08-17 01:12:18 +01:00
Worldfast ded4e82433
Translated using Weblate (Finnish)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/fi/
2022-08-15 10:15:05 +02:00
Worldfast 15199dc2c8
Translated using Weblate (Danish)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/da/
2022-08-15 10:15:05 +02:00
Worldfast acff6ebf95
Translated using Weblate (Belarusian)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/be/
2022-08-12 18:19:23 +02:00
solokot decc6a3c70
Translated using Weblate (Russian)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/ru/
2022-08-12 18:19:22 +02:00
Eric e01c8af361
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/zh_Hans/
2022-08-11 04:39:08 +02:00
Agnieszka C fea407e4b7
Translated using Weblate (Polish)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/pl/
2022-08-11 04:39:08 +02:00
Alan Jacob Mathew 668599b887
Translated using Weblate (Malayalam)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/ml/
2022-08-11 04:39:08 +02:00
atilluF e92645b00e
Translated using Weblate (Italian)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/it/
2022-08-11 04:39:08 +02:00
liquidvacuum f65fb39bf7
Translated using Weblate (Belarusian)
Currently translated at 34.1% (14 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/be/
2022-08-08 09:18:30 +02:00
Worldfast 0840a8dc5c
Translated using Weblate (Russian)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/ru/
2022-08-08 09:18:30 +02:00
Ismael Penalva Rodríguez 8cad4cfec5
Translated using Weblate (Spanish)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/es/
2022-08-08 09:18:29 +02:00
Worldfast fcba76e436
Translated using Weblate (Swedish)
Currently translated at 97.5% (40 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/sv/
2022-08-05 20:20:49 +02:00
Worldfast 064a3ca0da
Translated using Weblate (Spanish)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/es/
2022-08-05 20:20:49 +02:00
Worldfast cd502aed66
Translated using Weblate (Portuguese)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/pt/
2022-08-04 04:19:50 +02:00
Worldfast 48b54a3153
Translated using Weblate (Romanian)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/ro/
2022-08-04 04:19:49 +02:00
Worldfast 760d222822
Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/nb_NO/
2022-08-04 04:19:49 +02:00
Worldfast 9c8eb863a7
Translated using Weblate (Lithuanian)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/lt/
2022-08-04 04:19:49 +02:00
Worldfast a046defc79
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/bg/
2022-08-01 07:20:34 +02:00
Gabriel Cardoso bfa48cd6c8
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/pt_BR/
2022-07-28 21:21:47 +02:00
Artem 9d4d4e0f0f
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/uk/
2022-07-27 09:24:14 +02:00
darthpaul f6235e3b96 always show the navigation bar 2022-07-23 13:12:05 +01:00
Slávek Banko bc5f89a1ff
Translated using Weblate (Czech)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/cs/
2022-07-23 02:18:02 +02:00
solokot 800a78272c
Translated using Weblate (Russian)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/ru/
2022-07-20 15:32:11 +02:00
Tibor Kaputa d2878d294a
Merge pull request #335 from KryptKode/feat/camera-x
adjust preview based on selected aspect ratio
2022-07-16 09:19:16 +02:00
darthpaul 231a5f9c3f adjust preview based on selected aspect ratio
- set the preview scale type to fitStart
- both the preview and image capture would use the same size
- some other code cleanups to remove unused code / formatting changes
2022-07-15 21:32:54 +01:00
Oğuz Ersen 9feff19365
Translated using Weblate (Turkish)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/tr/
2022-07-15 16:20:32 +02:00
Josep M. Ferrer 1ab3050c18
Translated using Weblate (Catalan)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/ca/
2022-07-14 15:27:16 +02:00
Eric 007ccf0a34
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/zh_Hans/
2022-07-14 15:27:16 +02:00
Agnieszka C b8b46abcd7
Translated using Weblate (Polish)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/pl/
2022-07-14 15:27:16 +02:00
Guillaume c2e4ef5f9c
Translated using Weblate (Dutch)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/nl/
2022-07-14 15:27:16 +02:00
Xosé M 7d308f498c
Translated using Weblate (Galician)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/gl/
2022-07-14 15:27:15 +02:00
tibbi 1dd23d474e fixing the Settings top menu 2022-07-13 23:29:27 +02:00
tibbi 189b245351 do not scroll the settings top bar 2022-07-13 23:26:48 +02:00
tibbi 4fc90d0918 updating the slovak strings 2022-07-13 21:50:03 +02:00
Tibor Kaputa 44bc8af55e
Merge branch 'master' into weblate-simple-mobile-tools-simple-camera 2022-07-13 21:48:37 +02:00
darthpaul 776e842af5 remove logs 2022-07-13 17:08:20 +01:00
darthpaul d020e42635 revert debug applicationIdSuffix and app_name 2022-07-13 16:57:24 +01:00
darthpaul 1929260f8c add strings in other locales 2022-07-13 16:55:01 +01:00
Paul 97632b0e03
Merge branch 'SimpleMobileTools:master' into feat/camera-x 2022-07-13 16:42:20 +01:00
darthpaul 05ec3598b8 Merge remote-tracking branch 'origin/feat/camera-x' into feat/camera-x 2022-07-13 16:39:43 +01:00
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
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 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
мачко 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
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 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
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
Anonymous e1603e03ca
Translated using Weblate (Belarusian)
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/be/
2022-07-03 22:54:20 +02:00
Weblate 5989227e4b
Added translation using Weblate (Belarusian) 2022-07-03 22:54:20 +02:00
Guillaume 96a6959d11
Translated using Weblate (Dutch)
Currently translated at 100.0% (39 of 39 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/nl/
2022-07-03 22:54:20 +02:00
Milo Ivir 91766afc21
Translated using Weblate (Croatian)
Currently translated at 97.4% (38 of 39 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/hr/
2022-07-03 22:54:20 +02:00
Vitor Henrique b0d970ef28
Translated using Weblate (Portuguese (Brazil))
Currently translated at 48.7% (19 of 39 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/pt_BR/
2022-07-02 12:24:17 +02:00
Josep M. Ferrer 260372fde4
Translated using Weblate (Catalan)
Currently translated at 100.0% (39 of 39 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/ca/
2022-07-02 12:24:17 +02:00
Priit Jõerüüt 8c2f73e153
Translated using Weblate (Estonian)
Currently translated at 97.4% (38 of 39 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/et/
2022-07-02 12:24:17 +02:00
Eric 7b7ff320a5
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (39 of 39 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/zh_Hans/
2022-07-02 12:24:16 +02:00
Artem 131fc78fd3
Translated using Weblate (Ukrainian)
Currently translated at 97.4% (38 of 39 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/uk/
2022-07-02 12:24:16 +02:00
Oğuz Ersen 4ed992c933
Translated using Weblate (Turkish)
Currently translated at 100.0% (39 of 39 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/tr/
2022-07-02 12:24:16 +02:00
solokot 12de00798f
Translated using Weblate (Russian)
Currently translated at 100.0% (39 of 39 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/ru/
2022-07-02 12:24:16 +02:00
Agnieszka C c23db94a3d
Translated using Weblate (Polish)
Currently translated at 100.0% (39 of 39 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/pl/
2022-07-02 12:24:15 +02:00
AbsurdUsername b45883af0d
Translated using Weblate (Italian)
Currently translated at 100.0% (39 of 39 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/it/
2022-07-02 12:24:15 +02:00
tibbi 6ad3312384 adding the missing strings into all languages 2022-07-01 08:37:50 +02:00
darthpaul 889a384f21 handle 3rd party image/video capture intents
- in MediaOutputHelper,
   - add support for specifying the output URI if present in the intent
   - when the output URI is specified,
       - for Image Capture, we return a `Bitmap` as a `data` extra and also the URI as the Intent data
       - for Video Capture we return the `Uri` as the Intent data
    - if no output URI is specified in the capture intent or if there is an error while trying to access the URI, use the default location with MediaStore, so we do not return inconsistent URIs (eg, SAF tree URIs)

- add CameraXInitializer to abstract CameraXPreview initialisation logic
2022-06-30 00:23:41 +01:00
darthpaul f43cd4f939 handle some camera errors
- add CameraErrorHandler to handle
  - errors during camera lifecycle
  - when capturing images
  - when recording videos
2022-06-26 21:54:32 +01:00
darthpaul b10d8639fd handle torch state in video capture
- set initial torch state to off
- enable/disable the torch when flash mode is on/off in video mode
2022-06-26 11:12:43 +01:00
darthpaul 79f9267383 handle storage location
- add MediaOutputHelper
   - to create OutputStream for photos
   - to create FileDescriptor for videos (currently requires API 26+)
2022-06-26 10:58:17 +01:00
darthpaul e691fc1e8c use more stable CameraX 1.1.0-rc02 2022-06-26 00:12:19 +01:00
darthpaul 79cbe55a7f Merge branch 'master' into feat/camera-x 2022-06-25 23:33:12 +01:00
darthpaul d168040722 replace property getters with actual functions in CameraXPreview 2022-06-25 23:25:20 +01:00
darthpaul cc5fa462c4 revert compileSdkVersion and targetSdkVersion to 31 2022-06-25 23:22:37 +01:00
darthpaul 916121ffc9 store/restore last used camera lens 2022-06-25 23:21:51 +01:00
darthpaul fe3710510d add pinch to zoom support 2022-06-25 22:42:47 +01:00
darthpaul b44b6a9b2b update focus and unbind useCase
- update to use the DisplayOrientedMeteringPointFactory
- add Auto Focus (AF) and Auto Exposure (AE) metering points
- unbind VideoCaptureUseCase when in photo mode
- unbind ImageCaptureUseCase when not in photo mode
2022-06-25 21:42:15 +01:00
darthpaul e15078499b modify package name and app name
- this is so we can install both versions on the same device
- it would be reverted when camerax is ready to go live
2022-06-25 18:10:33 +01:00
darthpaul f0030670cf add basic support for focus and metering 2022-06-25 17:51:13 +01:00
darthpaul 1f3dd341d0 add flipping horizontally and photo quality 2022-06-25 17:14:49 +01:00
darthpaul c398370446 handle playing media sounds
- add MediaSoundHelper to separate logic for playing media action sounds
- add support for playing media action sounds (shutter, start and stop recording) in CameraXPreview
2022-06-25 16:39:29 +01:00
darthpaul 074351b88f add initial camera-x implementation
- add CameraXPreview
  - basic support image capture
  - basic support for video capture
  - add CameraXPreviewListener to prevent coupling to MainActivity
  - support switching camera, flash light modes
- modify MyPreview interface to add default implementation for methods not needed by the CameraXPreview
2022-06-25 15:43:39 +01:00
tibbi ff90f08094 removing a string available in Commons 2022-06-22 23:38:24 +02:00
Tibor Kaputa ab6fd9b041
Update strings.xml 2022-06-22 23:35:29 +02:00
Tibor Kaputa 246b5f614f
Update strings.xml 2022-06-22 23:35:14 +02:00
мачко 84f89617ef
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/bg/
2022-06-22 23:32:20 +02:00
AHOHNMYC d83c9524c4
Translated using Weblate (Russian)
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/ru/
2022-06-22 23:32:20 +02:00
Alberto 085b76d3c5
Translated using Weblate (Spanish)
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/es/
2022-06-22 23:32:20 +02:00
אליעזר שלמה דיין a92d749980
Translated using Weblate (Hebrew)
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/he/
2022-06-22 23:32:20 +02:00
Anonymous a3173efdb3
Translated using Weblate (Portuguese (Brazil))
Currently translated at 0.0% (0 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/pt_BR/
2022-06-22 23:32:20 +02:00
Weblate f31d0bc44b
Added translation using Weblate (Portuguese (Brazil)) 2022-06-22 23:32:20 +02:00
Anonymous 3d36b96784
Translated using Weblate (Hebrew)
Currently translated at 0.0% (0 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/he/
2022-06-22 23:32:20 +02:00
Weblate f177568563
Added translation using Weblate (Hebrew) 2022-06-22 23:32:20 +02:00
tibbi dfe9a0d051 updating some casual things 2022-06-22 23:32:14 +02:00
tibbi 9ccd1402bf changing the indonesian language from id to in 2022-06-21 23:24:35 +02:00
Tibor Kaputa d11dd8abd0
Delete strings.xml 2022-06-05 23:11:16 +02:00
Tibor Kaputa 8f09448d42
Update strings.xml 2022-06-05 23:11:04 +02:00
Tibor Kaputa 70ccb46827
Update strings.xml 2022-06-05 23:10:39 +02:00
Tibor Kaputa 164e79721b
Update strings.xml 2022-06-05 23:10:30 +02:00
Tibor Kaputa dc83b1df69
Delete strings.xml 2022-06-05 23:10:20 +02:00
Tibor Kaputa 9a3450929e
Update strings.xml 2022-06-05 23:10:08 +02:00
Tibor Kaputa ae7528c935
Update strings.xml 2022-06-05 23:09:59 +02:00
AbsurdUsername 68c7b4f05e
Translated using Weblate (Italian)
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/it/
2022-06-05 23:02:01 +02:00
solokot 80b2a144a6
Translated using Weblate (Russian)
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/ru/
2022-06-04 07:14:28 +02:00
Artem acd636dea2
Translated using Weblate (Ukrainian)
Currently translated at 97.0% (33 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/uk/
2022-06-02 14:14:18 +02:00
Priit Jõerüüt 9d654b5906
Translated using Weblate (Estonian)
Currently translated at 97.0% (33 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/et/
2022-05-31 20:15:34 +02:00
Josep M. Ferrer 67de54c3a8
Translated using Weblate (Catalan)
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/ca/
2022-05-30 13:18:28 +02:00
Artem 714af921af
Translated using Weblate (Ukrainian)
Currently translated at 97.0% (33 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/uk/
2022-05-30 13:18:28 +02:00
Júlia da Rosa 2822ba58c6
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/pt_BR/
2022-05-30 13:18:27 +02:00
Weblate 9e5fbdd63a
Added translation using Weblate (English (United States)) 2022-05-27 21:09:21 +02:00
Weblate a992e0ddfd
Added translation using Weblate (Hungarian) 2022-05-27 20:53:34 +02:00
Weblate 99a6cfc724
Added translation using Weblate (Portuguese) 2022-05-27 20:53:30 +02:00
Weblate 8411ed40b2
Added translation using Weblate (Bulgarian) 2022-05-27 20:53:29 +02:00
Weblate cdef041d1b
Added translation using Weblate (Esperanto) 2022-05-27 20:53:29 +02:00
Tibor Kaputa e5842efe0f
Update strings.xml 2022-05-19 21:51:51 +02:00
Tibor Kaputa ad9e93bca0
Update strings.xml 2022-05-19 17:35:31 +02:00
Josep M. Ferrer 77af2210e0
Translated using Weblate (Catalan)
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/ca/
2022-05-17 04:13:59 +02:00
Artem 4d65e2b26d
Translated using Weblate (Ukrainian)
Currently translated at 97.0% (33 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/uk/
2022-05-17 04:13:58 +02:00
Josep M. Ferrer 9da38be3af
Added translation using Weblate (Catalan) 2022-05-15 19:11:17 +02:00
Artem b97d3b06fc
Translated using Weblate (Ukrainian)
Currently translated at 97.0% (33 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/uk/
2022-05-15 11:16:01 +02:00
Vitor Henrique 794ccaa467
Translated using Weblate (Portuguese (Brazil))
Currently translated at 97.0% (33 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/pt_BR/
2022-05-15 11:16:01 +02:00
Priit Jõerüüt 4da0208c23
Translated using Weblate (Estonian)
Currently translated at 97.0% (33 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/et/
2022-04-27 21:09:25 +02:00
Priit Jõerüüt 58466e9bf5
Translated using Weblate (Estonian)
Currently translated at 17.6% (6 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/et/
2022-04-26 19:11:35 +02:00
Priit Jõerüüt f2a85147a2
Added translation using Weblate (Estonian) 2022-04-26 19:08:44 +02:00
Simon N e2a0946991
Translated using Weblate (Swedish)
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/sv/
2022-04-26 12:08:06 +02:00
tibbi 0cdf08b45f removing 2 more settings 2022-04-20 22:28:44 +02:00
tibbi 16bed1a1b0 removing the FocusBeforeCapture setting 2022-04-20 22:19:57 +02:00
tibbi b9dd068495 use the new design at Settings 2022-04-20 21:58:44 +02:00
Tibor Kaputa d05bdf72b9
Merge pull request #312 from weblate/weblate-simple-mobile-tools-simple-camera
Translations update from Hosted Weblate
2022-04-20 21:27:55 +02:00
tibbi 3628ddb9e9 adding core and fdroid build flavors 2022-04-20 21:25:55 +02:00
tibbi 196f477d3e lets set the minimal required OS version to Android 10 2022-04-20 21:20:40 +02:00
tibbi 77458cc759 updating commons 2022-04-20 21:17:05 +02:00
tibbi d717fe299c updating target SDK to 31 and some small things 2022-04-20 21:13:57 +02:00
J. Lavoie e5b49900b2
Translated using Weblate (French)
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/fr/
2022-04-18 10:27:48 +02:00
J. Lavoie 4ebff1493b
Translated using Weblate (German)
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/de/
2022-04-18 10:27:48 +02:00
Tibor Kaputa 704487d641
reordering some strings 2021-12-08 15:02:36 +01:00
Tibor Kaputa 214236ddfd
reverting some english translations 2021-12-08 14:59:21 +01:00
Tibor Kaputa 01f955cf8e
reordering some strings 2021-12-08 14:58:39 +01:00
protagnost 097a094c60
Translated using Weblate (Dutch)
Currently translated at 70.5% (24 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/nl/
2021-11-30 21:34:55 +01:00
teemue 689f2c8cff
Translated using Weblate (Finnish)
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/fi/
2021-11-29 12:50:59 +01:00
Eric 7efa7ece56
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/zh_Hans/
2021-11-17 14:47:36 +01:00
J. Lavoie 3a42a6eb8d
Translated using Weblate (Italian)
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/it/
2021-11-17 14:47:36 +01:00
J. Lavoie 347b87c68a
Translated using Weblate (French)
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/fr/
2021-11-17 14:47:35 +01:00
J. Lavoie d72032b135
Translated using Weblate (German)
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/de/
2021-11-17 14:47:35 +01:00
Allan Nordhøy 51156f51d0
Translated using Weblate (Norwegian Bokmål)
Currently translated at 67.6% (23 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/nb_NO/
2021-11-16 09:19:05 +01:00
solokot 9bd6a77ea4
Translated using Weblate (Russian)
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/ru/
2021-11-16 09:19:04 +01:00
J. Lavoie d15886215a
Translated using Weblate (French)
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/fr/
2021-11-16 09:19:04 +01:00
Rex_sa 09463db72d
Translated using Weblate (Arabic)
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/ar/
2021-11-16 09:19:04 +01:00
ERYpTION e7cf22bd97
Translated using Weblate (Danish)
Currently translated at 91.1% (31 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/da/
2021-11-15 00:58:10 +01:00
Oğuz Ersen 6fa1123d83
Translated using Weblate (Turkish)
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/tr/
2021-11-15 00:58:09 +01:00
Agnieszka C 9da0941095
Translated using Weblate (Polish)
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/pl/
2021-11-15 00:58:09 +01:00
Allan Nordhøy c83f7fdcc7
Translated using Weblate (English)
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/en/
2021-11-15 00:58:09 +01:00
ERYpTION 7a694560e3
Added translation using Weblate (Danish) 2021-11-14 15:36:02 +01:00
Agnieszka C 71ce28748c
Translated using Weblate (Polish)
Currently translated at 88.2% (30 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/pl/
2021-11-14 11:36:26 +01:00
Allan Nordhøy e91384d22f
Translated using Weblate (English)
Currently translated at 100.0% (34 of 34 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/en/
2021-11-14 11:36:26 +01:00
Allan Nordhøy 456c29bf03
Added translation using Weblate (Norwegian Bokmål) 2021-11-14 10:29:03 +01:00
tibbi 40fb19f878 removing a duplicate Indonesian translation file 2021-11-13 17:16:39 +01:00
melintemarian 3ab5241817 Added romanian strings 2021-11-08 21:07:29 +02:00
YFdyh000 c276c722d6 Refine zh-rCN translation 2021-10-14 06:13:21 +08:00
lnux-usr a3ffc7aea1
Updates in pt-br translations 2021-09-26 17:38:15 -03:00
tibbi 7a73ade61d update version to 5.3.1 2021-04-19 09:27:10 +02:00
tibbi b4169cf2c4 updating commons 2021-04-19 09:24:17 +02:00
tibbi baa128e11a updating commons, kotlin and gradle 2021-04-15 22:48:00 +02:00
GithubUser699 71860ceffd
Updated german translations 2021-02-02 00:23:12 +00:00
Nekromanser b280bdf760
Create strings.xml
Adding finnish strings.
2021-01-31 16:44:19 +02:00
tibbi 5e8a94f0a0 update version to 5.3.0 2020-12-29 18:58:20 +01:00
tibbi 7636f8ea90 require Simple Thank You purchase for customizing colors 2020-12-29 18:54:30 +01:00
tibbi f7e0b711cb catch more exceptions at toggling to recording mode 2020-12-29 17:45:03 +01:00
tibbi a713f8aba6 use a background thread for closing the camera on pause 2020-12-29 17:38:47 +01:00