Commit Graph

1054 Commits

Author SHA1 Message Date
tibbi
049245e43d make capture session nullable 2018-06-12 10:18:25 +02:00
tibbi
e568b96a0b updating changelog 2018-06-11 18:48:41 +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
df2493c0c2 update gradle to 3.1.3 2018-06-07 23:24:03 +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