Commit Graph

1250 Commits

Author SHA1 Message Date
darthpaul fd82e35215 fix NPE thrown in onFling 2022-11-26 12:58:20 +00:00
darthpaul 47bc591035 improve preview alignment
- center the PreviewView between the top action icons and the bottom mode switcher view for 4:3, 3:2 (video mode - SD) and 1:1 resolutions, when not full screen
2022-11-26 12:58:20 +00:00
darthpaul 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
Tibor Kaputa 15782dcb16
minor code update 2022-11-24 16:09:39 +01:00
darthpaul 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
VfBFan 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
Tibor Kaputa 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
Tibor Kaputa ffe8be73c5
minor code style formatting changes 2022-11-23 17:44:19 +01:00
darthpaul 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
darthpaul 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
darthpaul 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
J. Lavoie 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
J. Lavoie 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
Paul 159b7d6c58
Merge branch 'SimpleMobileTools:master' into fix/fast-switch-mode-inconsistencies 2022-11-15 10:27:59 +00:00
Tibor Kaputa 82ecf3ea48
Update strings.xml 2022-11-11 22:14:40 +01:00
Alex 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
darthpaul 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
Anonymous 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
Alex 48d577000d
Added translation using Weblate (Serbian) 2022-11-10 20:37:41 +01:00
Tibor Kaputa 7890dc80b8
Merge pull request #367 from spkprs/patch-5
Update.xml
2022-11-09 14:48:14 +01:00
bgo-eiu 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
Alex 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
tibbi c05874b8d1 catching a weird exception 2022-11-09 14:44:53 +01:00
darthpaul 7b7838331e persist/restore torch state for video and image capture 2022-11-09 10:09:47 +00:00
spkprs 71f289c145
Update strings.xml 2022-11-06 19:14:27 +02:00
tibbi 15d7099012 update version to 5.4.3 2022-10-30 16:43:52 +01:00
tibbi 3b0c877766 updating commons 2022-10-30 16:38:48 +01:00
tibbi d89e68d062 fixing a condition check 2022-10-30 13:01:39 +01:00
tibbi 911204e847 update version to 5.4.2 2022-10-29 16:05:17 +02:00
tibbi 6cc9897c99 updating commons 2022-10-29 15:59:15 +02:00
tibbi a47561246a Merge branch 'master' of github.com:SimpleMobileTools/Simple-Camera 2022-10-29 15:44:57 +02:00
tibbi 80ec710edd adding a crashfix 2022-10-29 15:44:48 +02:00
Tibor Kaputa eb830b4ff8
Update strings.xml 2022-10-29 15:42:53 +02:00
Anonymous 3f321a2ea1
Translated using Weblate (Punjabi (Pakistan))
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/pa_PK/
2022-10-28 16:56:50 +02:00
bgo-eiu 3da89a488e
Added translation using Weblate (Punjabi (Pakistan)) 2022-10-28 16:56:40 +02:00
tibbi 3989eca8e8 renaming some functions and variables 2022-10-28 15:59:02 +02:00
tibbi 9bc28dce78 update version to 5.4.1 2022-10-28 15:51:24 +02:00
tibbi 8cdbdad22a updating gradle, commons, exifinterface and camerax 2022-10-28 15:45:21 +02:00
Tibor Kaputa a7904f2944
compressing the new icon 2022-10-28 15:35:28 +02:00
Tibor Kaputa 3ea0ce18a3
refixing imports 2022-10-28 15:34:45 +02:00
Tibor Kaputa 2420b7dc31
Merge branch 'master' into feat/always-on-torch 2022-10-28 15:31:50 +02:00
Tibor Kaputa 4d7149cb95
removing some empty lines 2022-10-28 15:31:10 +02:00
tibbi dace1e9da8 small renaming 2022-10-24 16:32:34 +02:00
Tibor Kaputa 237421646d
Merge pull request #357 from KryptKode/feat/capture-mode-toggle
add settings option for capture mode
2022-10-24 16:31:26 +02:00
Tibor Kaputa 8157c036fa
removing a comma 2022-10-24 16:30:18 +02:00
Tibor Kaputa d304088963
removing a redundant variable 2022-10-24 16:30:04 +02:00
Tibor Kaputa 540008dfd9
Merge pull request #358 from KryptKode/feat/zoom-fling-fixes
disable flinging on preview view
2022-10-24 16:27:26 +02:00
Tibor Kaputa 5753e46d67
Update strings.xml 2022-10-24 10:13:14 +02:00
darthpaul 3d4c38de04 add always on torch mode for image capture 2022-10-23 00:00:22 +01:00
darthpaul a20c7137bb disable flinging on preview view
- only change camera mode when fling happens on the bottom tab
- so zoom gestures do not interfere with the fling
2022-10-22 23:36:41 +01:00