Commit Graph

1386 Commits

Author SHA1 Message Date
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
darthpaul e412cec759 add settings option for capture mode 2022-10-22 23:21:58 +01:00
Alex ab137fe565
Translated using Weblate (Slovenian)
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/sl/
2022-10-21 12:03:01 +02:00
Priit Jõerüüt f73e89d442
Translated using Weblate (Estonian)
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/et/
2022-10-21 12:03:01 +02:00
Digger 363a849601
Translated using Weblate (Japanese)
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/ja/
2022-10-21 12:03:00 +02:00
Чтабс a02da1e5c5
Translated using Weblate (Esperanto)
Currently translated at 95.4% (42 of 44 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/eo/
2022-10-18 21:04:38 +02:00
Alex 2df1661d69
Translated using Weblate (Slovenian)
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/sl/
2022-10-17 07:56:55 +02:00
Anonymous 03177adf57
Translated using Weblate (Slovenian)
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/sl/
2022-10-16 13:52:32 +02:00
gallegonovato a014bad82f
Translated using Weblate (Galician)
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/gl/
2022-10-16 13:52:31 +02:00
Alex 8dbeca3be1
Added translation using Weblate (Slovenian) 2022-10-16 13:52:24 +02:00
Josep M. Ferrer 3d3d7ec637
Translated using Weblate (Catalan)
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/ca/
2022-10-13 10:49:40 +02:00
Eric 5f45870ae7
Translated using Weblate (Chinese (Simplified))
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/zh_Hans/
2022-10-13 10:49:39 +02:00
Oğuz Ersen a140fd1b40
Translated using Weblate (Turkish)
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/tr/
2022-10-13 10:49:39 +02:00
solokot 41c57353b8
Translated using Weblate (Russian)
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/ru/
2022-10-13 10:49:39 +02:00
Agnieszka C ea15fb131b
Translated using Weblate (Polish)
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/pl/
2022-10-13 10:49:39 +02:00
Guillaume a9775781bb
Translated using Weblate (Dutch)
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/nl/
2022-10-13 10:49:39 +02:00
Digger 1e54b34a3a
Translated using Weblate (Japanese)
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/ja/
2022-10-13 10:49:38 +02:00
atilluF d9eac7f71f
Translated using Weblate (Italian)
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/it/
2022-10-13 10:49:38 +02:00
Linerly 5a0c7c4ce3
Translated using Weblate (Indonesian)
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/id/
2022-10-13 10:49:38 +02:00
gallegonovato e273de604c
Translated using Weblate (Spanish)
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/es/
2022-10-13 10:49:38 +02:00
Rex_sa 2a77a76cdb
Translated using Weblate (Arabic)
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/ar/
2022-10-13 10:49:37 +02:00
tibbi 3f526e9128 update version to 5.4.0 2022-10-11 09:59:16 +02:00
tibbi fda88669e7 updating commons 2022-10-11 09:53:50 +02:00
tibbi c40ac93b06 prioritize low latency over max quality by default 2022-10-11 09:41:56 +02:00
tibbi e8e6b0e28b adding new strings for toggling between quality and latency 2022-10-11 09:40:59 +02:00
darthpaul 579f5d0514 disable PreviewView while capturing photo 2022-10-11 01:06:54 +01:00
darthpaul ac3044f52b show shutter animation along with sound 2022-10-11 01:06:54 +01:00
Tibor Kaputa e817bc3325
Merge pull request #352 from KryptKode/feature/shadow-drawables
implement shadow drawables programmatically
2022-10-10 21:01:55 +02:00
darthpaul a14461d1c3 tweak top shadow values
- set shadowDy=2 and shadowColor=md_grey_200_dark
2022-10-10 19:48:55 +01:00
darthpaul a4af0929c5 implement shadow drawables programmatically
- add ShadowDrawable
- replace top icons to use ShadowDrawable
2022-10-10 19:17:25 +01:00
Tibor Kaputa 45e2ba1908
Merge pull request #351 from KryptKode/fix/camera-ui
FIX: UI issues
2022-10-10 08:41:34 +02:00
darthpaul 5085a1388d fix window insets after granting permissions 2022-10-09 23:22:38 +01:00
Tibor Kaputa 1193fef341
removing an empty line 2022-10-09 09:17:38 +02:00
darthpaul 89bf37d535 formatting: remove duplicate empty lines in ImageSaver 2022-10-09 02:41:25 +01:00
darthpaul 815287b9b2 fix: crash after accepting permission on Android 13+ 2022-10-09 02:33:35 +01:00
darthpaul 57d93f8c31 fix: close app when storage permission is denied 2022-10-08 11:24:39 +01:00
darthpaul 2608822169 hide last taken video icon during video recording
- remove unused methods in MainActivity
- fade out/in the toggle_camera and last_photo_video_preview buttons when video recording is started/stopped
2022-10-08 03:58:47 +01:00
darthpaul cc3c2108cf properly play media sound on image capture
- instead of using the OnImageSavedCallback, we now use the OnImageCaptureCallback and we play the sound in the onCapturedSuccess method to prevent the user from hearing the capture sound before the actual capture takes place
- add ImageSaver and ImageUtil based on CameraX implementation
- add sealed interfaces ImageCaptureOutput and VideoCaptureOutput to prevent confusion on the supported output format for images and video
- ImageSaver supports saving images with all MediaOutput.ImageCaptureOutput that can be saved to disk; MediaStoreOutput, OutputStreamMediaOutput and FileMediaOutput (unused at the moment), it throws an UnsupportedOperation when trying to save a BitmapOutput.
- with ImageSaver, we now have control of whether the Exif attributes are written to disk and so we can get rid of ExifRemover
- delete the extension method ImageProxy.toJpegByteArray as we have a similar method in ImageUtils class
2022-10-08 03:07:42 +01:00
tibbi 9536995b79 updating commons and gradle 2022-10-07 19:19:06 +02:00
tibbi 516b049e58 renaming and compressing the settings icon 2022-10-07 18:46:33 +02:00
darthpaul 6b906d1076 move video timer text to top of shutter 2022-10-06 23:54:11 +01:00
darthpaul 1afd0f515c restore flash mode in photo mode 2022-10-06 23:47:42 +01:00
darthpaul 33e64f84a2 remove unused drawables 2022-10-06 23:38:26 +01:00
darthpaul 3275cf5179 sort resolutions by aspect ratio 2022-10-06 23:37:09 +01:00
darthpaul a83aa1c2e2 disable settings icon when recording
- disable settings icon when recording video and enable when recording stopped
- create ic_settings vector drawable resource that uses the @color/camera_option_color fillColor for simplicity.
2022-10-06 23:37:03 +01:00
tibbi b6133a9944 fixing the ripple effect on Language setting item 2022-10-06 20:07:50 +02:00
tibbi 23eeab135a reset some stored config values 2022-10-06 19:45:03 +02:00
tibbi 57aa7405ac use full alpha at ic_photo_full_vector + formatting 2022-10-06 19:42:51 +02:00
tibbi 018b297b41 Merge branch 'master' of github.com:SimpleMobileTools/Simple-Camera 2022-10-06 19:31:59 +02:00
tibbi a2828b69c4 removing some no longer needed stuff 2022-10-06 19:31:50 +02:00
atilluF 7ee9108eed
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-10-06 18:54:40 +02:00
Balázs Meskó f71f9be788
Translated using Weblate (Hungarian)
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/hu/
2022-10-06 18:54:40 +02:00
paula katos 6356a387ed
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-10-06 18:54:40 +02:00
gallegonovato c94f16eccd
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-10-06 18:54:40 +02:00
gallegonovato bc6997966c
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-10-06 18:54:40 +02:00
gallegonovato 5ecb03bfd2
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-10-06 18:54:40 +02:00
tibbi 8f80fcc83f removing some empty lines here and there 2022-10-06 18:54:35 +02:00
tibbi 48fc96158d updating commons 2022-10-06 18:41:03 +02:00
tibbi adc5e8e36b renaming and compressing some vector images, no real change 2022-10-06 18:40:58 +02:00
Tibor Kaputa 879251e8cb
Merge pull request #348 from KryptKode/feat/camera-x
Camera UI fixes
2022-10-06 18:27:53 +02:00
darthpaul 50601ca31b fix crash due to IndexOutOfBounds on the MaterialToggleGroup
- this seems like a bug on the MaterialToggleGroup; for example, when 4 items are added to it and removed and later on 3 items added, it will crash
- the only feasible fix is to create a new MaterialToggleGroup when displaying the options
- calling invalidate, removeAllViews, etc do not work
2022-10-06 11:09:45 +01:00
darthpaul 315f8f559c close image after capturing as Bitmap 2022-10-05 13:09:21 +01:00
darthpaul 2627638a76 minor fixes for media output and toggling resolution
- handle exception when creating media output
- if only one resolution is supported, no need to restart the camera
2022-09-29 18:05:40 +01:00
darthpaul c38bab6824 make all top icons Buttons with same height 2022-09-29 17:00:57 +01:00
darthpaul a324da022a update top layout and icons 2022-09-29 01:09:35 +01:00
darthpaul c406636492 update CameraX 2022-09-29 00:49:37 +01:00
darthpaul d9afde41ed handle new storage permissions for API 33
- handle requesting READ_MEDIA_IMAGES and READ_MEDIA_VIDEO for Android 13+
- request WRITE_EXTERNAL_STORAGE for Android 12 and below
- set the permission WRITE_EXTERNAL_STORAGE to maxSdkVersion=32 in the AndroidManifest
2022-09-29 00:49:16 +01:00
Rex_sa 86a1cc30f3
Translated using Weblate (Arabic)
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/ar/
2022-09-24 09:25:03 +02:00
darthpaul 1ea0664b7c Merge branch 'master' into feat/camera-x 2022-09-22 00:53:02 +01:00
darthpaul 67566eeea6 remove change bounds animation 2022-09-22 00:51:58 +01:00
darthpaul 58bf7fded0 fix back button 2022-09-22 00:48:50 +01:00
tibbi c9a770f161 minor update to 2 libraries 2022-09-21 12:51:30 +02:00
tibbi 4c4ec8baff adding monochrome icon support on Android 13+ 2022-09-21 12:47:36 +02:00
tibbi 6f833c2f17 allow picking any language on Android 13+ 2022-09-21 12:43:17 +02:00
tibbi 75a8a0de76 updating kotlin, common, gradle and target SDK to 33 2022-09-21 12:36:35 +02:00
tibbi 729c47a513 always scroll the settings menu 2022-09-21 12:32:54 +02:00
words wave 9f9a0ff57a
Translated using Weblate (Estonian)
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/et/
2022-09-21 12:29:18 +02:00
gallegonovato e6540710b3
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-09-21 12:29:18 +02:00
words wave c21e29cd90
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-09-21 12:29:18 +02:00
Kovacs Bea 14b3eaa30c
Translated using Weblate (Hungarian)
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/hu/
2022-09-21 12:29:18 +02:00
Moo 4c23db1b56
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-09-21 12:29:18 +02:00
Stefan Ivanov e14470f0e8
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-09-21 12:29:18 +02:00
Moo 5b57087556
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-09-21 12:29:18 +02:00
J. Lavoie 2b1ce83937
Translated using Weblate (French)
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/fr/
2022-09-21 12:29:18 +02:00
J. Lavoie 0ab4f575b2
Translated using Weblate (German)
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/de/
2022-09-21 12:29:18 +02:00
en2sv 51f9a426b8
Translated using Weblate (Swedish)
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/sv/
2022-09-21 12:29:18 +02:00
Tibor Kaputa 9350a9c379
Merge pull request #345 from spkprs/patch-3
Update.xml
2022-09-21 12:29:14 +02:00
Tibor Kaputa 48bbb827bf
Merge pull request #342 from KryptKode/feat/camera-x
CameraX: Fix capture/preview resolution
2022-09-21 12:28:46 +02:00
darthpaul 1450f87e0f adjust animations 2022-09-20 18:37:48 +01:00
darthpaul 0686bdae05 reduce shutter animation duration to 200 2022-09-20 18:29:01 +01:00
darthpaul 94cbf213cc use scaling property to animate shutter 2022-09-20 18:25:31 +01:00
darthpaul 0cc5210bd2 animate video shutter icon 2022-09-20 17:50:12 +01:00
darthpaul d9fbc17bff animate shutter icon 2022-09-20 16:51:23 +01:00
darthpaul f02d0b3ae7 prevent reload when re-selecting resolution 2022-09-20 02:19:53 +01:00
darthpaul ea389c5ac9 disable switching modes when recording video 2022-09-20 01:02:52 +01:00
darthpaul f41e8cc4e0 add transitions, 2022-09-20 00:58:39 +01:00
spkprs 899182514e
Update strings.xml 2022-09-05 22:33:25 +03:00
darthpaul 77994d408e UI fixes
- hiding general settings option when child items are hidden
- change icon for 1x1 and full screen
- remove background tint from icons
2022-08-28 02:19:18 +01:00
darthpaul 34c0f0bd6a UI fixes
- hiding button on 3rd party intent
- disabling option to change resolution when capturing media
2022-08-25 19:09:13 +01:00
darthpaul 0fdb751909 cleanup selection of media size
- add MediaSizeStore to manage write/read operations for the media size
2022-08-25 08:42:13 +01:00
darthpaul fd5f64ecf3 add toggling flash mode / media size 2022-08-25 08:30:56 +01:00
darthpaul 64ff75511c fix flash mode selection 2022-08-25 07:58:22 +01:00
darthpaul 5f7b2e0ecb adjust icon colors 2022-08-25 07:23:54 +01:00
darthpaul c220b478c0 UI fixes
- handle top/button margin if there's a cutout with windowInsets.displayCutout
- handle nav bar color
- remove 16:9 size if the full screen size is already 16:9
- change layout to use Button instead of explicit MaterialButton
2022-08-25 06:56:15 +01:00
Milo Ivir 43b05e6607
Translated using Weblate (Croatian)
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/hr/
2022-08-23 17:17:07 +02:00
darthpaul e6a588a218 simpler UI for flash mode / media size 2022-08-22 14:27:07 +01:00
darthpaul e8744c93f6 remove keepSettingsVisible 2022-08-19 16:27:16 +01:00
darthpaul 2ebeb5a1e4 use tabs for camera modes 2022-08-19 15:24:47 +01:00
darthpaul 4b7166e90f properly hide flash 2022-08-19 00:18:00 +01:00
darthpaul 22df3d8c58 implement shutter animation
- remove animation to blink icons
- implement the shutter animation by setting alpha=1 and animating to alpha=0
2022-08-19 00:00:21 +01:00
darthpaul affcc078dd make preview fill up to the cutoff (notch)
- add theme attribute android:windowLayoutInDisplayCutoutMode to shortEdges in the theme
- add flags FLAG_LAYOUT_NO_LIMITS to the window flags
- add top margin to the icons on top, set to the statusBarHeight
- add bottom margin to the icons at the bottom, set to the navigationBarHeight + view margin
2022-08-18 14:53:25 +01:00
Worldfast 4c81a118df
Translated using Weblate (Hungarian)
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/hu/
2022-08-17 04:20:16 +02:00
Worldfast 555503b650
Translated using Weblate (Swedish)
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/sv/
2022-08-17 04:20:15 +02:00
Worldfast 03f1f96a60
Translated using Weblate (Korean)
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/ko/
2022-08-17 04:20:15 +02:00
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