Commit Graph

860 Commits

Author SHA1 Message Date
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
tibbi b25beb3a34 moving some code in if statement 2018-05-30 23:03:12 +02:00
tibbi 5c6d4132cb adding some touch to focus handling 2018-05-30 22:58:12 +02:00
tibbi 328c4300a5 update mLastClickX and Y only at Down action 2018-05-30 21:26:16 +02:00
tibbi 7ffe53a0ae draw a focus circle at pressing the preview 2018-05-30 17:50:15 +02:00
tibbi 292e2f6ad0 lets remove PreviewListener interface, call activity functions directly 2018-05-30 17:27:30 +02:00
tibbi dfcb72b7f6 add a click listener for focusing 2018-05-30 17:22:36 +02:00
tibbi 7ff48fc880 removing another redundant function 2018-05-30 16:40:46 +02:00
tibbi 250bf176c1 removing a redundant variable 2018-05-30 16:35:13 +02:00
tibbi 7d5a60f13d fix the rotation of images captured with Camera2 api 2018-05-30 16:11:23 +02:00
tibbi 184f87aab1 removing a redundant function 2018-05-30 15:02:26 +02:00
tibbi 410822bd38 always set camera state to STATE_PICTURE_TAKEN at capturing 2018-05-30 14:56:53 +02:00
tibbi 27fb68704b show the bottom buttons after taking a photo 2018-05-30 14:50:48 +02:00
tibbi 9cb94fc5e6 OCD 2018-05-30 14:32:01 +02:00
tibbi f8dea07ebe send the device rotation to photo saver + cleanup 2018-05-30 14:28:52 +02:00
tibbi 4b17fbf3d3 removing some redundant code, since there is portrait orientation forced 2018-05-30 13:40:14 +02:00
tibbi 49bd2b1be9 add photo saving with Camera2 api 2018-05-30 13:19:15 +02:00
tibbi a894f6e01c properly close the camera on pause 2018-05-30 11:21:02 +02:00
tibbi c69e34a9b4 make sure flashlight changes are ignored if the device has no flashlight 2018-05-30 11:10:56 +02:00
Xosé M 71d6322ee4 actualiza idioma 2018-05-30 08:01:56 +02:00
tibbi d01ad834f6 add a toggle for selecting if front/rear camera should be used 2018-05-29 23:42:23 +02:00
tibbi 3d7ec35e3b handle auto flash too 2018-05-29 20:38:55 +02:00
tibbi 3fd08d3940 fix toggling between flash on/off 2018-05-29 19:56:45 +02:00
tibbi 4aed627b7c simplify a flashlight state check 2018-05-29 00:00:34 +02:00
tibbi 209700dc72 toggle Camera availability when appropriate 2018-05-28 22:43:38 +02:00
tibbi c521b33ed9 replacereplace a SparseIntArray appends with puts 2018-05-28 22:39:26 +02:00
tibbi 26f33e8c26 add some initial PreviewCameraTwo implementation from the sample code 2018-05-28 21:47:23 +02:00
tibbi 77fb00097c show an AutoFitTextureView on Lollipop+ 2018-05-28 20:15:06 +02:00
tibbi 22d463f0e0 create a PreviewCameraTwo to be used with Camera2 API on Android 5+ 2018-05-28 20:12:02 +02:00
tibbi 0d71a4492b create an interface for some shared Preview functions 2018-05-28 19:30:31 +02:00
tibbi 3bc54c2e5f remove a few more direct variable calls at PreviewCameraOne 2018-05-28 16:15:29 +02:00
tibbi e529bdd15c adding some initial camera states 2018-05-28 16:00:30 +02:00
tibbi a52716a3a5 do not implement OnScanCompletedListener at PreviewCameraOne 2018-05-28 15:14:35 +02:00
tibbi ec294da274 flip the photo quality selector, start at the highest 2018-05-28 12:11:53 +02:00
tibbi bc8459ce00 use a white focus circle at B&W theme 2018-05-28 11:59:57 +02:00
tibbi 18905792c0 simplify button drawable updating 2018-05-28 11:53:20 +02:00
tibbi 86d13eaf54 small cleanup at checking camera availability 2018-05-28 11:49:52 +02:00
tibbi 05dee60cb7 add a helper function for toggling timer visibility in the activity 2018-05-28 11:35:36 +02:00
tibbi b8db893c1c do not store mCurrCameraId in the activity 2018-05-28 11:29:25 +02:00
tibbi bf82752748 update flashlight handling 2018-05-28 10:54:10 +02:00
tibbi 95d0ca1fd0 do not reset the activity at releasing camera 2018-05-28 00:00:47 +02:00
tibbi bad8653d36 minor cleanup here and there 2018-05-27 23:56:07 +02:00
tibbi 2cdae95de8 create a helper function for getting the proper camera impl 2018-05-27 23:35:40 +02:00
tibbi 3e6aab0cb5 rename Preview to PreviewCameraOne 2018-05-27 23:03:57 +02:00
tibbi 7bf69e1d04 change the focus rectangle to a focus circle 2018-05-27 21:47:54 +02:00
tibbi d6ff4c5c64 adding AutoFitTextuewView from the Camera2 sample 2018-05-27 21:33:28 +02:00
tibbi 5fa8f06391 removing a redundant view 2018-05-27 21:29:12 +02:00
tibbi b2e9854b9a create an interface to be reused by camera1 and camera2 2018-05-27 19:48:27 +02:00
tibbi cc4e07d1ff update commons to 4.1.4 2018-05-27 15:50:21 +02:00
Sérgio Marques 745ba224e6
Update strings.xml 2018-05-21 13:45:55 +01:00
solokot 7cf725b0d2
Update strings.xml 2018-05-17 15:57:38 +03:00
tibbi c33cadaf01 moving some strings to Commons 2018-05-16 23:47:16 +02:00
tibbi bbb4447c34 update version to 4.0.0 2018-05-15 21:50:11 +02:00
tibbi 43b399d552 fix #130, make sure the preview is zoomed out at camera init 2018-05-15 21:44:50 +02:00
tibbi e2ae2caf11 split Settings into subsections 2018-05-15 20:48:41 +02:00
tibbi 6b7022f547 adding colored launcher icons 2018-05-15 20:14:31 +02:00
tibbi 5bf1d39036 unify side paddings at the settings screen 2018-05-09 16:32:57 +02:00
solokot a169abd6d2
Add files via upload 2018-04-28 19:33:10 +03:00
tibbi 9538c47ba0 send the captured photo path as an extra at refresh_media intent 2018-04-23 23:04:41 +02:00
Kompiuterių meistras +37060040020 53566b7e5f
Update strings.xml 2018-04-16 00:43:37 +03:00
en2sv 7d7c3f3a64
Update Swedish translation 2018-04-14 20:13:00 +02:00
tibbi b0b68bd243 update version to 3.2.1 2018-04-08 11:17:57 +02:00
tibbi 4df0e1b414 update commons to 3.18.10 2018-04-08 11:15:51 +02:00
tibbi ad1a721f8f catch and show exceptions thrown at rotating saved image 2018-04-08 11:13:31 +02:00
Kompiuterių meistras +37060040020 4b57d5ff0e
Update strings.xml 2018-04-04 01:26:36 +03:00
tibbi d6f9943a4b update version to 3.2.0 2018-04-01 16:14:40 +02:00
tibbi 6fc21c7eb9 tweak window flags a bit 2018-04-01 16:11:22 +02:00
tibbi b55ebb669c allow the app be ran over lockscreen 2018-04-01 16:07:04 +02:00
tibbi f73f8ad1c5 fix a condition check 2018-04-01 12:16:46 +02:00
tibbi 15e24a7f83 use the functions from Commons for saving rotated images 2018-04-01 12:12:46 +02:00
tibbi 1bade23297 rotate images by exif on SD card on Nougat+ 2018-04-01 11:20:26 +02:00
tibbi 750ff3f782 update commons to 3.17.19 2018-03-31 23:42:01 +02:00
tibbi 2f08c2b59e adding a null check at photo saving 2018-03-31 23:33:47 +02:00
tibbi 43ff590e64 make toggle_camera nullable at MainActivity 2018-03-31 23:29:34 +02:00
tibbi dccc85e0a1 catch exceptions thrown at setting camera parameters 2018-03-31 23:11:12 +02:00
tibbi 4aac512a05 removing a weird file 2018-03-27 20:11:32 +02:00
Unknown f7c7128de3 Croatian translation
App fully translated to Croatian.
2018-03-27 19:38:24 +02:00
Kompiuterių meistras +37060040020 644e5d8dbd
Update strings.xml 2018-03-23 23:58:01 +02:00
julianaito 4adf23c402 Fixed and updated French translation 2018-03-13 15:06:56 +01:00
fricyo 52fbc43506
Creat Chinese(TW) Translation 2018-03-06 12:15:22 +08:00
Sérgio Marques 2c63d186a6
Update strings.xml 2018-03-04 22:31:45 +00:00
Tibor Kaputa 3e1b97a2ea
removing an extra space 2018-02-28 13:19:07 +01:00
kniddl 70fdb07dc2
Updated German GAQ section 2018-02-28 12:22:53 +01:00
gregory678 ae1987e3f8
PL translation update [2018.02.27] 2018-02-27 17:55:16 +01:00
Tibor Kaputa e15dc66b8d
escaping some apostrophes 2018-02-26 21:58:40 +01:00
Gozzwip 1093eb3b99
adding azerbaijani strings 2018-02-27 00:31:28 +04:00
hanjoong.cho 8f538ba551 Add Korean translation 2018-02-27 04:20:44 +09:00
tibbi 774630fd43 adding a new FAQ item 2018-02-26 18:18:35 +01:00
tibbi 740b7f21a4 update version to 3.1.4 2018-02-26 17:02:50 +01:00
tibbi ae74efbf25 added a toggle for avoiding seeing Whats New 2018-02-26 16:58:59 +01:00
tibbi d04ed7d334 move the error with failed resolution setting to the moment of image capture 2018-02-26 16:33:31 +01:00
tibbi 59da992442 show an error if Data returned from the camera after capturing a photo is empty 2018-02-26 16:15:02 +01:00
Xosé M e84c5198cd update gl 2018-02-26 14:34:14 +01:00
tibbi 5f4e10c4aa add a new error message if setting proper resolution fails 2018-02-26 12:37:53 +01:00
tibbi f0fb06f111 show an Unknown error message if resolution selection failed 2018-02-26 12:31:11 +01:00
tibbi 6f8b6c4b49 fix storing videos on the SD card 2018-02-26 11:37:52 +01:00
tibbi 740a1e4e20 fix saving images on the SD card 2018-02-26 11:26:58 +01:00
tibbi e8696fd29e adding a FAQ section 2018-02-26 11:25:43 +01:00
tibbi c023445b3b update commons to 3.13.9 2018-02-26 11:22:58 +01:00
tibbi d02f391ed6 add a helper function for setting camera parameters 2018-02-25 16:28:25 +01:00
tibbi 44fb913b0e adding a comment to the slow preview hackfix 2018-02-22 17:41:20 +01:00
Lili Wei 1c4543f468 Fix #120 2018-02-22 23:20:44 +08:00
Sérgio Marques 8abc1318ce
Update strings.xml 2018-02-10 16:19:04 +00:00
en2sv 529e182327
Update Swedish translation 2018-02-03 20:16:33 +01:00
gregory678 675ca1bb31
Update strings.xml 2018-02-03 01:30:48 +01:00
gregory678 be9d1b3cd9
Translation updates and fixes [2018.02.03] 2018-02-03 01:29:08 +01:00
Nikola Trubitsyn ade17b667e Set unique applicationIdSuffix in debug builds 2018-02-02 00:48:29 +03:00
tibbi 4eefa05ea9 update version to 3.1.2 2018-01-23 19:09:03 +01:00
tibbi 7ab1ae411a update commons to 3.8.2 2018-01-23 18:53:11 +01:00
tibbi f8368150fb call scanPath after capturing an image on app context 2018-01-23 18:39:08 +01:00
tibbi 5699ab4ca3 call scanPath on the context after saving a video 2018-01-23 18:33:42 +01:00
tibbi c5f3d312d3 properly apply zoom, do not delay it 2018-01-23 17:02:41 +01:00
tibbi df500e2da4 make sure the camera supports zoom before trying to zoom 2018-01-23 16:57:23 +01:00
tibbi 16d6d2044d catch OutOfMemory errors at saving images 2018-01-23 16:48:30 +01:00
tibbi 95e75b4e74 show an error if no profile has been retrieved at video recording 2018-01-23 16:37:19 +01:00
tibbi 91137228d2 send a broadcast for refreshing media at file save 2018-01-22 23:42:52 +01:00
tibbi aeafddd9ed update commons to 3.8.0 2018-01-22 23:07:45 +01:00
Nikola Trubitsyn bcef746e32
Specify build tools 27.0.3 explicitly 2018-01-22 13:04:35 +03:00
tibbi 1da74e916d update commons to 3.7.7 2018-01-16 22:20:01 +01:00
Xose M 42c393cdaa
galician update
new string & minor improvements
2018-01-16 07:07:15 +01:00
tibbi b852b38491 Merge branch 'master' of github.com:SimpleMobileTools/Simple-Camera 2018-01-14 12:07:33 +01:00
tibbi ca25dc9c6d update version to 3.1.1 2018-01-14 12:07:14 +01:00
tibbi 3152b545e9 catch IOException at setting photo exif data separately so the code continues 2018-01-14 12:06:26 +01:00
Tibor Kaputa a24d97f911
Merge pull request #106 from Phoenix1747/patch-1
Update DE
2018-01-14 09:31:17 +01:00
Nikola Trubitsyn 0329292763
Update strings.xml 2018-01-14 01:39:22 +03:00
Phoenix1747 cd59907bb4
Update strings.xml 2018-01-13 21:48:33 +01:00
tibbi f81dbdfd0d update version to 3.1.0 2018-01-13 16:17:15 +01:00
tibbi 1d41dd1602 add the photo compression quality in release notes 2018-01-13 16:16:59 +01:00
tibbi a1865811a9 fix #105, allow changing the photo compression quality 2018-01-13 15:21:34 +01:00
tibbi d38eb229d7 improve the sd card treeuri check at saving photos 2018-01-13 09:30:45 +01:00
tibbi c4b977517b remove an error showing at saving photo 2018-01-13 09:29:08 +01:00
tibbi c3861299b2 make dark theme the default 2018-01-13 00:00:30 +01:00
tibbi b0c5c1a1ee update commons to 3.6.19 2018-01-13 00:00:21 +01:00
tibbi 6d19ddc59d adding some crashfixes 2018-01-12 23:58:01 +01:00
tibbi 2023cdca50 handle picture taking on a background thread 2018-01-12 23:47:50 +01:00