Commit Graph

794 Commits

Author SHA1 Message Date
tibbi f2f330ffd3 update commons to 4.3.29 2018-07-05 18:46:17 +02:00
ScratchBuild 376af161b0 Update Japanese translation 2018-06-26 16:47:59 +09:00
tibbi 2fa5965e7b update version to 4.1.2 2018-06-18 23:19:00 +02:00
tibbi b351729646 remove the error toast at Create Preview 2018-06-18 23:18:16 +02:00
tibbi 2c26981fd0 flip the icons used at toggle front/rear camera 2018-06-18 23:16:25 +02:00
tibbi 7e42da897a split the video and image capture intent checks 2018-06-18 23:12:49 +02:00
tibbi 39a235141e update commons to 4.2.6 2018-06-18 22:49:23 +02:00
tibbi c6dfeb97b7 show some exception messages publicly to speed up the glitch fixes 2018-06-18 22:43:42 +02:00
tibbi 335529ccbb catch and show exceptions thrown at starting recording 2018-06-18 21:22:19 +02:00
tibbi 7afa969505 fix #172, set SCALER_CROP_REGION at image capturing only if the user zoomed 2018-06-18 21:04:01 +02:00
tibbi 29fc0add5c update commons to 4.2.5 2018-06-18 21:03:23 +02:00
gregory678 edacc556b9
PL translation update [2018.06.18] 2018-06-18 20:52:08 +02:00
tibbi ff33c4f30d notify the activity at stoping the video recording, fixed third party intents 2018-06-14 14:14:57 +02:00
tibbi 16fdbf8d5a fix handling of third party video intent 2018-06-14 13:53:51 +02:00
tibbi 854a865071 fix third party intent image capturing 2018-06-14 13:04:46 +02:00
tibbi 22ed7a2678 update kotlin to 1.2.50 2018-06-14 11:52:30 +02:00
tibbi d4d497612a update version to 4.1.1 2018-06-12 10:22:22 +02:00
tibbi 049245e43d make capture session nullable 2018-06-12 10:18:25 +02:00
tibbi b1a6fc7411 update version to 4.1.0 2018-06-11 18:48:35 +02:00
tibbi 1ec2c68961 recreate the preview session after capturing a photo without focus 2018-06-11 18:35:43 +02:00
tibbi 9696db4ef4 set preview intent at control capture intent 2018-06-11 17:52:33 +02:00
tibbi f246a23440 remove the standalone cancel autofocus function 2018-06-11 16:58:39 +02:00
tibbi d21124e3bc flip autofocus canceling and stopRepeating 2018-06-11 15:07:03 +02:00
tibbi 45177dd7d9 move the autofocus cancelling code in an own function 2018-06-11 14:30:35 +02:00
tibbi 8ae53e4f2f do not rotate the preview at front camera, always use sensor orientation 2018-06-11 14:10:59 +02:00
tibbi c0d0a06dfe try disabling Focus before capture by default 2018-06-11 13:56:25 +02:00
tibbi 8b7185d38c let Camera2 take care of exif fields, just copy it over 2018-06-11 12:50:07 +02:00
tibbi d8f68fe643 fix #98, properly set some date/time related exif values when appropriate 2018-06-11 12:32:52 +02:00
tibbi 368a9c109d hide the last photo preview too at third party intents 2018-06-11 11:49:19 +02:00
tibbi 1f55c1345a make sure the image is rotated as appropriate at third party intents 2018-06-11 11:26:50 +02:00
tibbi ff85805636 send setRecordingState false to CameraOne only if the recording is really stoping 2018-06-11 11:06:32 +02:00
tibbi a39e7ad233 update the front/read camera icon as appropriate at toggling 2018-06-10 23:46:00 +02:00
tibbi 3daa79590f fix a glitch at remembering front/back camera 2018-06-10 23:42:18 +02:00
tibbi 594c024cd1 adding some brackets at checking front/back camera 2018-06-10 23:20:44 +02:00
tibbi 9dc29390f1 properly init front/back camera 2018-06-10 23:08:18 +02:00
tibbi e240e0752f init photo mode by default 2018-06-10 23:04:02 +02:00
tibbi 84199fb858 recognize 19:9 and 19:8 aspect ratios better 2018-06-10 22:51:22 +02:00
tibbi 24036931cd limit available video sizes by max width and height 2018-06-10 22:43:32 +02:00
tibbi 39c9227844 stop recording at changing the resolution if needed 2018-06-10 22:14:16 +02:00
tibbi d533b18a91 make sure the aspect ratio is always updated on the main thread 2018-06-10 21:18:28 +02:00
tibbi 5f0a1d0475 remember last used focus area, set it again after capturing an image 2018-06-10 14:56:37 +02:00
Tibor Kaputa a24a3979d2
Merge pull request #166 from FatihFIRINCI/patch-1
Create Turkish strings.xml
2018-06-10 14:18:08 +02:00
tibbi 8443aac425 release the mediarecorder at closing the camera too 2018-06-10 12:51:38 +02:00
Fatih Fırıncı bd0f768a82
Create strings.xml 2018-06-10 13:36:35 +03:00
tibbi 2b6370c77e fix some focusing glitches on Android 8 2018-06-10 11:47:05 +02:00
tibbi fc058e2f05 catch exceptions thrown at saving images 2018-06-10 11:46:53 +02:00
tibbi 104eca5196 update every button clickability on the main thread 2018-06-08 22:46:15 +02:00
tibbi afa5a46303 fix some camera state glitches around recording and capturing 2018-06-08 22:38:02 +02:00
tibbi 13d4f25810 add sounds to shutter actions 2018-06-08 18:48:14 +02:00
tibbi e33d550ba6 catch all exceptions thrown during focus or zoom 2018-06-08 14:17:38 +02:00
tibbi d7c4c76640 avoid launching multiple shutter actions at pressing volumes 2018-06-08 14:11:43 +02:00
tibbi d57eb9ef98 add camera state check to video recording toggle too 2018-06-08 13:59:28 +02:00
tibbi ac3a09dd85 avoid shutter actions when not in state_preview state 2018-06-08 13:54:46 +02:00
tibbi b4cb2dd0bb focus before capturing the image only if Focus before capture is enabled 2018-06-08 12:13:55 +02:00
tibbi 885df0ef88 disable showing photo preview after capturing on Android 5+ 2018-06-08 12:06:51 +02:00
tibbi 55fbe8dd4b make sure the back camera is always open by default, if selected so 2018-06-08 12:02:07 +02:00
tibbi 4d06be8b4d fix focusing during recording 2018-06-07 23:36:33 +02:00
tibbi 57698fb817 set a control capture intent at recording 2018-06-07 15:41:42 +02:00
tibbi 31d7ee2663 make sure we have a valid capture session at focusing and zooming 2018-06-07 13:42:22 +02:00
tibbi a037fd5761 catch all exceptions thrown at opening the camera 2018-06-07 11:33:18 +02:00
tibbi 6536bb707f removing some empty line and stacktrace 2018-06-07 11:21:11 +02:00
tibbi 40bc253bd8 allow toggling flashlight during recording too 2018-06-06 22:48:22 +02:00
tibbi f83a841ae4 allow toggling flashlight at recording preview 2018-06-06 22:41:56 +02:00
tibbi 8ae6c32206 use a background thread for restarting the camera after recording 2018-06-06 22:28:14 +02:00
tibbi 6c885c83c2 add some video recording handling 2018-06-06 21:50:09 +02:00
tibbi 9e3e732bbf handle toggling between photo and video modes 2018-06-06 15:09:09 +02:00
tibbi 440180f79a list proper video resolutions at the resolution picker dialog 2018-06-05 23:49:19 +02:00
tibbi ea640f96ca minor code style cleanup 2018-06-05 23:16:34 +02:00
tibbi 045328daa3 remember which camera was used last, open it by default 2018-06-05 22:19:27 +02:00
tibbi 3f23f017d2 set the flash icon to Off at hiding to avoid glitches at reshowing 2018-06-05 21:25:23 +02:00
tibbi 6a1cc57c00 improve the camera behaviour at changing the resolution 2018-06-05 21:07:45 +02:00
tibbi f1359e1909 make sure we select proper preview aspect ratio 2018-06-05 20:25:02 +02:00
tibbi acea2ce5f2 flip front photos horizontally by default 2018-06-05 13:50:42 +02:00
tibbi 686f37b32a catch all exceptions at setting up the preview session 2018-06-05 13:17:57 +02:00
tibbi aae28aeb03 show a list of available photo resolutions at pressing Change Resolution 2018-06-05 11:37:50 +02:00
Tibor Kaputa d1000697cc
Merge pull request #165 from GuepardoApps/master
Updated german translations
2018-06-05 09:39:38 +02:00
Tibor Kaputa 5c799b4f56
reverting some app description strings 2018-06-05 09:39:29 +02:00
tibbi 5704e58164 do not even draw the Focus circle if the current camera doesnt support focus 2018-06-04 23:12:53 +02:00
tibbi b0ba502795 hide the Flashlight toggle button if no flash is available 2018-06-04 23:09:29 +02:00
tibbi f5e347c09e add handling for front/back camera toggling 2018-06-04 23:06:33 +02:00
tibbi c75f1cabfa properly rotate the image in selfie mode 2018-06-04 22:10:35 +02:00
Jonas Schubert ccfb2ee22f Updated german translations 2018-06-04 22:00:59 +02:00
tibbi 7e0b355438 skip focusing before image capture if the current camera doesnt support focus 2018-06-04 21:48:54 +02:00
tibbi 617ac98e5d pass available resolutions to the picker dialog in a new MySize type list 2018-06-04 16:08:23 +02:00
tibbi ebb6e89dd6 send a boolean at resolution changing dialog to mark front/back camera 2018-06-04 15:36:17 +02:00
tibbi 16a2745652 properly handle autoexposure and auto flash 2018-06-04 14:56:25 +02:00
fricyo 7d6fb5c74c
Update Translation 2018-06-04 17:45:29 +08:00
tibbi df33bf0ddf set AutoFocus to Idle instead of Cancel after taking a picture 2018-06-04 10:28:07 +02:00
tibbi cc63675e3a update crop region permanently after zooming in/out 2018-06-01 22:58:50 +02:00
tibbi ac529cd07f do not mess with CONTROL_AF_MODE at touch-to-focus 2018-06-01 21:26:11 +02:00
tibbi 4d640d7d5a shortening some code 2018-06-01 20:24:54 +02:00
tibbi bbe2ba171d replace textureView click listener with manual touch events checking 2018-06-01 20:06:21 +02:00
tibbi 1708bf562a make sure a proper photo section is captured at zooming in 2018-06-01 16:40:02 +02:00
tibbi f26cc4c2f0 use proper capture callback and background handler at focusing 2018-06-01 16:27:35 +02:00
tibbi a52586165c add zooming by gestures 2018-06-01 14:32:09 +02:00
tibbi 1531f89ea4 changing some float number declarations 2018-06-01 12:15:44 +02:00
tibbi 67b3b50fa8 improving the Touch To Focus functionality 2018-06-01 11:59:37 +02:00
tibbi 94488adb24 make sure the bottom button visibility is updated on the main thread 2018-05-31 12:44:24 +02:00
tibbi a8aba856b7 removing an Equals sign 2018-05-30 23:13:27 +02:00
tibbi bf314ecf22 add a helper function for getting the camer amanager 2018-05-30 23:10:26 +02:00