Commit Graph

1387 Commits

Author SHA1 Message Date
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
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
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
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
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
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
63a5985cfa Merge pull request #325 from spkprs/patch-2
Update strings.xml
2022-07-08 22:33:25 +02:00
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
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
815950e8c1 Update strings.xml 2022-07-05 00:27:17 +03:00
e00582adbc adding a prepaid build variant 2022-07-04 22:48:52 +02:00
60bb5799f3 removing app title, short and long description strings 2022-07-04 22:48:32 +02:00
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
aec0b9e3c1 Update strings.xml 2022-07-04 22:45:27 +02:00
536f1e076a Update strings.xml 2022-07-04 22:44:57 +02:00
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
5c7e4fd635 Added translation using Weblate (Thai) 2022-07-04 03:21:04 +02:00
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
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
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
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
d05a07ee7b 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-03 22:54:21 +02:00
52a4cbf8cb 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-03 22:54:21 +02:00
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
5989227e4b Added translation using Weblate (Belarusian) 2022-07-03 22:54:20 +02:00
5bf53c464b Translated using Weblate (Dutch)
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/nl/
2022-07-03 22:54:20 +02:00
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
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
2670b79a7b removing bolds from the apps description 2022-07-03 22:54:14 +02:00
f9b1eaad53 adding Telegram to social links 2022-07-03 21:30:25 +02:00
00ec808c14 Merge pull request #322 from weblate/weblate-simple-mobile-tools-simple-camera
Translations update from Hosted Weblate
2022-07-02 12:41:01 +02:00
20f6c7dde5 Translated using Weblate (Hebrew)
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/he/
2022-07-02 12:24:18 +02:00
b5dfc7a496 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-02 12:24:18 +02:00
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
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
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
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
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
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
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
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
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
6ad3312384 adding the missing strings into all languages 2022-07-01 08:37:50 +02:00
198faec306 Merge pull request #320 from KryptKode/feat/camera-x
Feat/camera x
2022-06-30 21:37:04 +02:00
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
dc0e73002f Merge pull request #319 from weblate/weblate-simple-mobile-tools-simple-camera
Translations update from Hosted Weblate
2022-06-26 22:55:08 +02:00
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
f6a23561ea Translated using Weblate (Indonesian)
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/id/
2022-06-26 22:54:29 +02:00
749c86da14 Merge pull request #318 from KryptKode/feat/camera-x
Rewrite to use CameraX
2022-06-26 22:54:25 +02:00
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