Commit Graph

1362 Commits

Author SHA1 Message Date
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
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
e691fc1e8c use more stable CameraX 1.1.0-rc02 2022-06-26 00:12:19 +01:00
79cbe55a7f Merge branch 'master' into feat/camera-x 2022-06-25 23:33:12 +01:00
d168040722 replace property getters with actual functions in CameraXPreview 2022-06-25 23:25:20 +01:00
cc5fa462c4 revert compileSdkVersion and targetSdkVersion to 31 2022-06-25 23:22:37 +01:00
916121ffc9 store/restore last used camera lens 2022-06-25 23:21:51 +01:00
fe3710510d add pinch to zoom support 2022-06-25 22:42:47 +01:00
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
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
f0030670cf add basic support for focus and metering 2022-06-25 17:51:13 +01:00
1f3dd341d0 add flipping horizontally and photo quality 2022-06-25 17:14:49 +01:00
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
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
ff90f08094 removing a string available in Commons 2022-06-22 23:38:24 +02:00
61228b11f7 Merge pull request #316 from weblate/weblate-simple-mobile-tools-simple-camera
Translations update from Hosted Weblate
2022-06-22 23:35:48 +02:00
ab6fd9b041 Update strings.xml 2022-06-22 23:35:29 +02:00
246b5f614f Update strings.xml 2022-06-22 23:35:14 +02:00
0f294650ff 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-06-22 23:32:20 +02:00
1260a7805e 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-06-22 23:32:20 +02:00
8fd6b7e13a Translated using Weblate (Catalan)
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/ca/
2022-06-22 23:32:20 +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
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
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
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