Commit Graph

393 Commits

Author SHA1 Message Date
tibbi f2b8b1ed32 do not allow automatic flash in video mode 2017-03-26 18:29:15 +02:00
tibbi 604c5b9e76 fix #26, add automatic flash 2017-03-26 18:24:51 +02:00
tibbi 10549b4542 add icons for automatic flash 2017-03-26 17:58:26 +02:00
tibbi fc4bd98e68 reinitialize the recorder if the device rotation changes while not recording 2017-03-26 17:28:22 +02:00
tibbi 10282d36ba remove the hardcoded rotation degree 2017-03-26 15:07:52 +02:00
tibbi 8c0e0af270 move the permission checking things into a separate function 2017-03-26 15:05:14 +02:00
tibbi e44e1ccdbf rename the photo video toggling functions 2017-03-26 14:41:58 +02:00
tibbi fa9eb58012 move camera init into a standalone function 2017-03-26 12:11:22 +02:00
tibbi f62f5314f6 Merge branch 'master' of github.com:SimpleMobileTools/Simple-Camera 2017-03-26 12:05:52 +02:00
tibbi 9cca79877b fix some video rotation checks 2017-03-26 12:05:38 +02:00
Sérgio Marques f2e7bb6b9d Portuguese update 2017-03-25 23:47:49 +00:00
tibbi 0bead6f1fb fix toggling toggle camera visibility 2017-03-25 18:37:08 +01:00
tibbi ba979443ad show the Toggle Camera button only if the user has multiple cameras 2017-03-25 18:23:07 +01:00
tibbi 726ab0acd2 fix #17, improve photo saving rotation 2017-03-25 17:59:25 +01:00
tibbi 60c6544c16 flip some conditions 2017-03-23 18:09:41 +01:00
tibbi ded93e2d34 add the moved resolution picker in release notes 2017-03-22 20:23:03 +01:00
tibbi 586890b5e9 try filling the screen with the default back camera photo resolution 2017-03-22 20:12:57 +01:00
Tibor Kaputa e84ab36c79 add more bottom margin to bottom buttons 2017-03-22 11:06:54 +01:00
tibbi c013f85ce5 show the aspect ratio at the resolutions dialog too 2017-03-21 23:24:31 +01:00
tibbi af72725ad7 close the resolution picker dialog after changing a resolution 2017-03-21 23:05:23 +01:00
tibbi 0fe47acc4e move the aspect ratio check in a Size extension 2017-03-21 23:00:24 +01:00
tibbi 60f2cf9e1a append the megapixels to the resolution 2017-03-21 22:50:22 +01:00
tibbi 5a04995b77 use the apps color on the focus rect 2017-03-21 22:39:25 +01:00
tibbi e309221b76 fix saving videos on SD cards 2017-03-21 22:02:50 +01:00
tibbi 658977953b change the way we calculate the navigation bar height 2017-03-21 21:53:46 +01:00
tibbi be0f949b19 recheck preview size on toggling photo/video mode 2017-03-21 21:37:36 +01:00
tibbi 4a13d766f0 recheck the previews aspect ratio on resolution change 2017-03-21 21:23:15 +01:00
tibbi c8af745297 let the Preview handle the changeResolutionDialog 2017-03-21 20:43:40 +01:00
tibbi af58be70dd removing a local variablec cpHigh 2017-03-21 20:38:49 +01:00
tibbi 89e41d1fac take pictures and videos in the selected resolution 2017-03-21 20:37:23 +01:00
tibbi d01a3ca636 setup proper preview size 2017-03-21 20:19:07 +01:00
Sérgio Marques 34fce5d6a8 Portuguese update 2017-03-21 16:00:53 +00:00
tibbi d7b105f065 properly store the selected resolution index in db 2017-03-21 00:04:17 +01:00
tibbi 4938da8d0d update the dialog with the selected resolution 2017-03-21 00:01:26 +01:00
tibbi 7ead59dad4 tweak the resolution picker dialog 2017-03-20 23:58:53 +01:00
tibbi ba173944f7 fill in the values at resolution pickers 2017-03-20 23:23:30 +01:00
tibbi cee0ada35f send the Camera object to the ChangeResolutionDialog 2017-03-20 23:01:28 +01:00
tibbi 0afb2d57a8 create a dialog for changing resolutions 2017-03-20 21:02:20 +01:00
tibbi 74863e3149 create the default values for resolution indexes 2017-03-20 20:45:23 +01:00
tibbi 1ea95c709b add a button for setting the photo/video resolution 2017-03-20 20:41:36 +01:00
tibbi f043d6df65 remove the resolution setters from Settings 2017-03-20 20:30:08 +01:00
tibbi 2e43f53af2 sort camera preview sizes differently 2017-03-20 19:48:37 +01:00
tibbi 0eed22d749 minor update 2017-03-20 19:13:32 +01:00
tibbi 207bb44eed misc tweaks here and there 2017-03-19 23:30:54 +01:00
tibbi 9a6a4ffe9e removing the Utils class 2017-03-19 22:10:52 +01:00
tibbi 0cfebacd01 couple more updates of the Preview class 2017-03-19 21:36:45 +01:00
tibbi 1095ed56e5 convert Preview to kotlin 2017-03-19 21:21:21 +01:00
tibbi 9576aa0f51 disable RTL support for now 2017-03-19 21:07:15 +01:00
tibbi c653345ff7 removing some mipmap icons 2017-03-19 21:02:19 +01:00
tibbi 8c793112e6 move the icons into the drawables folder + some renames 2017-03-19 21:02:02 +01:00
tibbi 9f5d6ea75e reuse some resources from the Commons library 2017-03-19 20:51:43 +01:00
tibbi 81ff55f9c9 use just one version of spanish and portugal 2017-03-19 19:59:06 +01:00
tibbi 382a39cfea add some settings for resolutions 2017-03-19 19:13:43 +01:00
tibbi 7ea48812a2 add some new resolution related strings and 2 more spanish languages 2017-03-19 19:08:25 +01:00
tibbi cf667f8760 setup the color customization button 2017-03-19 18:45:20 +01:00
tibbi e29717da20 remove the previous weird way of setting photo/video resolution 2017-03-19 18:43:51 +01:00
tibbi 7fadf48b4f make sure the selected save path exists and its a directory 2017-03-19 17:48:49 +01:00
tibbi f40d7f6f7c fix setting the photo save folder 2017-03-19 17:43:56 +01:00
tibbi 862295fbba add the Whats new dialog 2017-03-19 13:19:21 +01:00
tibbi 0efa54ee6c use the shared About and License activities 2017-03-19 13:16:37 +01:00
tibbi 367da03d02 update the Settings screen 2017-03-19 13:10:32 +01:00
tibbi 1ef1bbe176 add an initial version of the Commons library 2017-03-19 13:01:08 +01:00
tibbi cdbe4ed0c1 remove the alternative string locations 2017-01-12 18:17:55 +01:00
Taras 57ab65037d update Russian 2017-01-12 14:45:10 +03:00
tibbi 5d7527f38e ading French translation 2017-01-05 22:57:55 +01:00
Stefan a720458c4c Update strings.xml 2017-01-03 23:39:19 +01:00
tibbi c378952700 updating app descriptions 2016-12-18 18:40:48 +01:00
tibbi 27e88f9fb1 tweak the crashfix a bit 2016-12-18 18:36:07 +01:00
tibbi 824685258e fix a crash at closing the app right after taking a photo 2016-12-18 18:33:23 +01:00
tibbi 93ec82df00 have flash on permanently even in photo mode, if set so 2016-12-18 18:04:47 +01:00
Sérgio Marques 10683d7dc8 Portuguese update 2016-12-13 21:57:07 +00:00
tibbi e85389281b add some links to more strings 2016-12-11 11:03:51 +01:00
Sérgio Marques a82e581110 Portuguese update 2016-12-05 22:09:46 +00:00
tibbi 92f87e2740 escape some apostrophes 2016-12-03 11:03:10 +01:00
Sérgio Marques 41539a53fb Portuguese update 2016-12-02 23:27:52 +00:00
naofum da427f443c Updated Japanese 2016-11-30 23:12:27 +09:00
tibbi f319f42cbf add Spanish app description 2016-11-29 18:13:50 +01:00
tibbi 4cd239604b lets support RTL languages 2016-11-27 12:14:39 +01:00
tibbi f8f2125d53 add the google play strings into strings.xml 2016-11-24 21:11:14 +01:00
tibbi e8cb8d1464 move some more code in utils 2016-11-24 21:03:45 +01:00
tibbi 0223867412 move some helper functions in Utils 2016-11-24 20:57:51 +01:00
tibbi f48334ea2d show a preview of captured image only if set so 2016-11-24 20:49:56 +01:00
tibbi dd650a34b5 store config in a variable 2016-11-24 19:06:14 +01:00
tibbi 987cf48467 add a toggle for showing photo preview after capturing 2016-11-24 18:56:15 +01:00
tibbi b7e0285aa4 move preview resuming to a separate function 2016-11-24 18:35:16 +01:00
Tibor Kaputa 69c269d7c6 always use the max possible preview in video 2016-11-24 14:35:08 +01:00
tibbi e68384100a added Spanish translation 2016-11-21 18:17:04 +01:00
tibbi bebc02dee5 fix storing max video resolution 2016-11-20 21:20:54 +01:00
tibbi e35f849548 fixing some startup crashes 2016-11-20 18:55:14 +01:00
tibbi 679103f810 add Glide license 2016-11-20 18:45:56 +01:00
tibbi fa67c5dc88 use Glide for displaying last photo preview 2016-11-20 18:41:51 +01:00
tibbi 4261f38417 adding kotlin license 2016-11-20 18:29:54 +01:00
tibbi 811e9b19d5 remove the no longer needed write storage images 2016-11-17 09:57:06 +01:00
Sérgio Marques 465eef59ca Portuguese update 2016-11-16 23:26:44 +00:00
tibbi 8ed58d6899 add filepicker license 2016-11-16 00:05:50 +01:00
tibbi 8f120d1a86 remove Butterknife 2016-11-16 00:03:20 +01:00
tibbi b2869fc6ba convert Constants to kotlin 2016-11-15 23:59:56 +01:00
tibbi 924f3585ce move Utils to the proper folder 2016-11-15 23:53:36 +01:00
tibbi 79055ebc3e move PhotoProcessor to proper folder 2016-11-15 23:48:10 +01:00
tibbi 900f12634e convert MainActivity to kotlin 2016-11-15 23:47:06 +01:00
tibbi c50608aa27 convert HardwareShutterReceiver to kotlin 2016-11-15 23:05:44 +01:00
tibbi f34b9c7e9f move FocusRectView in proper folder 2016-11-15 22:41:11 +01:00
tibbi 8b1b6ae413 convert FocusRectView to kotlin 2016-11-15 22:40:21 +01:00
tibbi e4c4504c71 convert config to kotlin 2016-11-15 22:35:06 +01:00
tibbi 6c83203bbb convert AboutActivity to kotlin 2016-11-15 22:29:32 +01:00
tibbi 3f90e2e325 convert LicenseActivity to kotlin 2016-11-15 22:28:31 +01:00
tibbi e9fca9e7dd convert SimpleActivity to kotlin 2016-11-15 22:27:38 +01:00
tibbi 0dab91be56 fix #31, never allow phone sleep while on the main screen 2016-11-15 22:23:03 +01:00
tibbi f2b6eb4c74 use the write permissions dialog which comes with the filepicker 2016-11-15 20:59:01 +01:00
tibbi a3f466b762 add some right margin to save photo folder 2016-11-15 20:38:17 +01:00
tibbi 5e93e4225a get use of some filepicker extensions 2016-11-15 20:36:31 +01:00
tibbi 0934331fe7 minor style fix 2016-11-15 20:22:47 +01:00
tibbi 7bc73b48a4 disable rtl support 2016-11-15 20:22:33 +01:00
Sérgio Marques 889c61b728 Update strings.xml 2016-11-13 18:10:40 +00:00
Tibor Kaputa 63251fbb2e Merge pull request #29 from smarquespt/master
Portuguese update
2016-11-13 17:37:41 +01:00
tibbi b14df432b1 updating the lt translation 2016-11-12 21:51:00 +01:00
techwebpd 5ff67eb5e2 lithuanian translation 2016-11-11 23:51:38 +02:00
Sérgio Marques 65cbc6dc32 Portuguese update 2016-11-09 23:40:59 +00:00
tibbi 823bca9c70 fix saving for devices without SD card 2016-11-07 23:38:36 +01:00
tibbi 2cacf76d92 add some checks to avoid saving to sd card without permission 2016-11-06 17:34:53 +01:00
tibbi 2964d1ce37 nicely format the picked save folder 2016-11-06 14:51:24 +01:00
tibbi 52190cf797 change the way video limit is stored 2016-11-06 13:09:42 +01:00
tibbi f634df285b use constants for the mpx values 2016-11-06 12:53:31 +01:00
tibbi 945b845a44 add a new max photo resolution limit of 2 mpx 2016-11-06 12:46:29 +01:00
tibbi 0bdfb7802f fix saving videos on sd card 2016-11-06 11:40:56 +01:00
tibbi d2cbae264c convert Utils to kotlin 2016-11-06 11:22:08 +01:00
tibbi 8c2a5479f1 fix saving photos on SD card 2016-11-06 11:12:55 +01:00
tibbi d74800dcc2 adding some checks to Kitkat SD card permission handling 2016-11-06 00:23:36 +01:00
tibbi 76c2312b6d convert photoProcessor to kotlin 2016-11-05 23:50:51 +01:00
tibbi 85416aa0db do not force a writable folder selected as Save folder 2016-11-05 23:47:09 +01:00
tibbi 9459a18032 correction to some save folder cases 2016-11-04 19:10:01 +01:00
tibbi 9d88e2136c implement the folder picker for saving stuff 2016-11-01 18:40:37 +01:00
tibbi 229f7111f2 allow picking any folder for storing the photos and videos 2016-11-01 12:54:37 +01:00
tibbi 70c07f9688 convert SettingsActivity to kotlin 2016-10-30 22:59:00 +01:00
Tibor Kaputa 35bf74b6fb scale the bottom padding more dynamically 2016-10-27 17:33:14 +02:00
Tibor Kaputa 3e88fc7d2f use tne System stream for playing the shutter sound 2016-10-27 17:20:32 +02:00
Tibor Kaputa 604dc90ab1 reduce the bottom margin on devices with hardware navigation 2016-10-27 16:55:55 +02:00
tibbi 9db80ebf70 clarify the Settings limits 2016-10-26 22:37:33 +02:00
mueller-ma 72f1d72b35 Translated some strings to german 2016-10-25 10:44:09 +02:00
tibbi 69ebbaf9d6 remember the last flashlight state 2016-10-10 19:32:35 +02:00
tibbi 126e626a9c remember if the last used camera was the front or the back one 2016-10-10 19:14:41 +02:00
YSmhXQDd6Z 799a30314f Create strings.xml 2016-10-02 21:42:46 +00:00
tibbi 075b0902b2 close #21, apply the Shutter sound option to video recording too 2016-09-20 20:57:16 +02:00
tibbi 18c060eb71 hide the bottom buttons for a second on photo taken 2016-09-20 20:41:25 +02:00
tibbi 276c47d4f0 remove the Focus before capture feature 2016-09-20 20:35:03 +02:00
tibbi 1c113e5472 if force 16:9 ratio is not forced, try taking 4:3 2016-09-20 20:21:50 +02:00
Tibor Kaputa 139013bf2d Merge pull request #19 from vanitasvitae/master
Fixed typo
2016-09-09 00:18:59 +02:00
vanitasvitae 4515e04441 Fixed typo 2016-09-08 10:06:02 +02:00
tibbi d07905f227 small change to selectable item background 2016-09-07 22:57:34 +02:00
vanitasvitae 177ebbd574 Added german translation 2016-09-06 14:51:54 +02:00