Commit Graph

1708 Commits

Author SHA1 Message Date
a95472e28f Merge pull request #379 from KryptKode/feat/timer
add camera timer
2022-11-26 16:58:10 +01:00
78b6469bb4 set flash icon's visibility to GONE when not available 2022-11-26 12:49:36 +00:00
048489cbbb hide/show views during count down 2022-11-25 16:00:47 +00:00
ef2f3eb766 PR changes:
- remove rotating close icon from shutter button
- remove toggling flashlight on each countdown tick
- remove sound (to be addressed later)
2022-11-25 15:50:05 +00:00
772ffb21ad add camera timer 2022-11-25 07:11:41 +00:00
c901a3f88e Merge pull request #378 from KryptKode/chore/update-camera-x
Update CameraX to 1.2.0-rc01
2022-11-24 22:24:29 +01:00
aee23700d8 update CameraX to 1.2.0-rc01
- fix issue where camera cannot be configured on some devices
- set the PreviewView  useCase surface provider before binding to camera
2022-11-24 15:18:54 +00:00
b5d95b2a8f Merge pull request #377 from KryptKode/fix/video-shutter-sound
fix video capture sound playing in video recording
2022-11-24 16:09:48 +01:00
15782dcb16 minor code update 2022-11-24 16:09:39 +01:00
f08180aa38 fix video capture sound playing in video recording
- add custom MediaActionSound, with functionality to notify callers when playing sound ends
- only start video recording when the sound has played completely
2022-11-24 14:02:48 +00:00
97304bd497 Merge pull request #375 from weblate/weblate-simple-mobile-tools-simple-camera
Translations update from Hosted Weblate
2022-11-23 17:46:03 +01:00
59c89c710e Translated using Weblate (Slovenian)
Currently translated at 100.0% (8 of 8 strings)

Translation: Simple Mobile Tools/Simple Camera metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera-metadata/sl/
2022-11-23 17:45:31 +01:00
fb870e0f33 Translated using Weblate (German)
Currently translated at 100.0% (44 of 44 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/de/
2022-11-23 17:45:31 +01:00
6e794d4cf7 Merge pull request #370 from KryptKode/fix/fast-switch-mode-inconsistencies
fix inconsistencies when user switches camera mode fast
2022-11-23 17:45:26 +01:00
ffe8be73c5 minor code style formatting changes 2022-11-23 17:44:19 +01:00
edfa69f6ac revert swiping target and CameraX to 1.2.0-beta01
- reverting because VideoCapture fails to initialize on some devices
- revert swiping target to the tab
2022-11-23 14:45:32 +00:00
e7ac9b964f Merge remote-tracking branch 'origin/fix/fast-switch-mode-inconsistencies' into fix/fast-switch-mode-inconsistencies 2022-11-23 14:33:38 +00:00
fc2296e2ae fix inconsistencies when user switches camera mode fast
- debounce switching by 500ms when toggling between video/photo capture
- ensure there is only one source of truth for the current camera mode - this is the CameraXPreview
- refactor the MainActivity to depend on the CameraXPreview for the camera mode
- remove unused code in CameraXPreviewListener, MyPreview and in MainActivity
2022-11-23 14:32:16 +00:00
768af8fa99 Merge pull request #374 from weblate/weblate-simple-mobile-tools-simple-camera
Translations update from Hosted Weblate
2022-11-18 23:17:56 +01:00
1a6564bd60 Update short_description.txt 2022-11-18 23:17:41 +01:00
5dc9faed8d Translated using Weblate (Malayalam)
Currently translated at 62.5% (5 of 8 strings)

Translation: Simple Mobile Tools/Simple Camera metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera-metadata/ml/
2022-11-18 23:13:09 +01:00
d090d59bd4 Merge pull request #372 from weblate/weblate-simple-mobile-tools-simple-camera
Translations update from Hosted Weblate
2022-11-18 23:13:00 +01:00
9e224373fd Delete video.txt 2022-11-18 23:12:49 +01:00
a8f8407d48 Translated using Weblate (French)
Currently translated at 100.0% (44 of 44 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/fr/
2022-11-18 12:18:19 +01:00
bfbf51aeaf Translated using Weblate (German)
Currently translated at 100.0% (44 of 44 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/de/
2022-11-18 12:18:19 +01:00
1e1bb5c285 Translated using Weblate (Serbian)
Currently translated at 100.0% (8 of 8 strings)

Translation: Simple Mobile Tools/Simple Camera metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera-metadata/sr/
2022-11-17 08:48:10 +01:00
3c37c14ff3 Translated using Weblate (Slovenian)
Currently translated at 100.0% (8 of 8 strings)

Translation: Simple Mobile Tools/Simple Camera metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera-metadata/sl/
2022-11-17 08:48:10 +01:00
159b7d6c58 Merge branch 'SimpleMobileTools:master' into fix/fast-switch-mode-inconsistencies 2022-11-15 10:27:59 +00:00
f870944b50 Merge pull request #371 from weblate/weblate-simple-mobile-tools-simple-camera
Translations update from Hosted Weblate
2022-11-14 14:57:02 +01:00
f34ea9b21b Delete video.txt 2022-11-14 14:56:51 +01:00
ef8c2050eb Translated using Weblate (Serbian)
Currently translated at 100.0% (8 of 8 strings)

Translation: Simple Mobile Tools/Simple Camera metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera-metadata/sr/
2022-11-14 14:01:56 +01:00
5f1ced5500 Merge pull request #369 from weblate/weblate-simple-mobile-tools-simple-camera
Translations update from Hosted Weblate
2022-11-11 22:14:53 +01:00
82ecf3ea48 Update strings.xml 2022-11-11 22:14:40 +01:00
a2e739ac16 Translated using Weblate (Serbian)
Currently translated at 100.0% (44 of 44 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/sr/
2022-11-11 21:51:17 +01:00
c858e5b908 fix inconsistencies when user switches camera mode fast
- debounce switching by 300ms when toggling between video/photo capture
- setCameraAvailable only when there is no error and the camera state is Type.OPEN
2022-11-11 00:44:53 +00:00
e389fe21c8 Translated using Weblate (Serbian)
Currently translated at 100.0% (0 of 0 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/sr/
2022-11-10 20:37:49 +01:00
48d577000d Added translation using Weblate (Serbian) 2022-11-10 20:37:41 +01:00
261d1b8259 Merge pull request #364 from spkprs/patch-4
Update.xml
2022-11-09 14:49:28 +01:00
288e456df8 Merge branch 'master' into patch-4 2022-11-09 14:49:21 +01:00
7890dc80b8 Merge pull request #367 from spkprs/patch-5
Update.xml
2022-11-09 14:48:14 +01:00
61f079db57 Merge pull request #366 from weblate/weblate-simple-mobile-tools-simple-camera
Translations update from Hosted Weblate
2022-11-09 14:48:01 +01:00
1d3b466114 Translated using Weblate (Russian)
Currently translated at 87.5% (7 of 8 strings)

Translation: Simple Mobile Tools/Simple Camera metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera-metadata/ru/
2022-11-09 14:45:15 +01:00
46e99044a3 Translated using Weblate (Punjabi (Pakistan))
Currently translated at 61.3% (27 of 44 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/pa_PK/
2022-11-09 14:45:15 +01:00
26570ebb99 Translated using Weblate (Croatian)
Currently translated at 100.0% (8 of 8 strings)

Translation: Simple Mobile Tools/Simple Camera metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera-metadata/hr/
2022-11-09 14:45:15 +01:00
e7dab886d9 Translated using Weblate (Croatian)
Currently translated at 100.0% (44 of 44 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/hr/
2022-11-09 14:45:15 +01:00
c05874b8d1 catching a weird exception 2022-11-09 14:44:53 +01:00
25b7521b46 Merge pull request #368 from KryptKode/feat/persist-torch-state
persist torch state for video and image capture
2022-11-09 14:42:15 +01:00
7b7838331e persist/restore torch state for video and image capture 2022-11-09 10:09:47 +00:00
71f289c145 Update strings.xml 2022-11-06 19:14:27 +02:00
75fb27abb8 Update strings.xml 2022-10-30 18:53:31 +02:00