simplemobiletools / simple-camera Goto Github PK
View Code? Open in Web Editor NEWQuick photo and video camera with a flash, customizable aspect ratio.
Home Page: https://www.simplemobiletools.com
License: GNU General Public License v3.0
Quick photo and video camera with a flash, customizable aspect ratio.
Home Page: https://www.simplemobiletools.com
License: GNU General Public License v3.0
It's so usefull and logic (IMO) to place a qrcode button in a camera app.
Thank
The option to disable the annoying shutter sound is missing.
seeing "open failed: EACCESS (permission denied)" toast when trying to take pictures after setting save directory to SD card location. I think you may have not included the WRITE EXTERNAL STORAGE permission in your app?
I'm on an S4 with android 4.4.2
Photos with simple camper will be more simple without exif data, please make option to turn off exif data saving
I tried your code, some bugs are there.
Front camera open and zoom it after touch the screen,app was stoped.
The errors are below,
com.simplemobiletools.camera, PID: 21850
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1956)
at com.simplemobiletools.camera.Preview.focusArea(Preview.kt:350)
at com.simplemobiletools.camera.Preview.focusArea$default(Preview.kt:328)
at com.simplemobiletools.camera.Preview$2.onClick(Preview.kt:98)
Hey,
first of all, great software. I like using it and the fact that it's libre software makes the icing on the cake.
It would be great if the app would remember the camera that was last used, whether it was the front or the back camera. Or, if you oppose this change, a config in the settings to set the default camera would do it, too.
My smartphone's back camera broke and all camera apps I tried before crash because they can't access the camera, before I can even switch to the front camera (which works fine). But Simple Camera doesn't crash. However, since the back camera is essentially useless for me, I'd love if Simple Camera could automatically start with the right camera setting.
Thank you in advance.
for example Nexus 5
This is a feature request.
I would like to activate the camera using e.g. double power button press on a locked device. This works, but the device still asks to unlock, which is a bit inconvenient.
Might help: open camera [1] implements it and names the setting "Show camera when locked"
[1] https://sourceforge.net/p/opencamera/code/ci/master/tree/
Can you follow the standard to improve interoperability with others applications?
I have translated your application into ja
(Japanese). Here is the xml:
<resources>
<string name="app_name">単機能カメラ</string>
<string name="app_launcher_name">カメラ</string>
<string name="camera_unavailable">カメラは利用できません</string>
<string name="camera_open_error">カメラへの接続時に不具合が発生しました</string>
<string name="video_creating_error">動画ファイルの作成時に不具合が発生しました</string>
<string name="video_mode_error">動画撮影への切り替えに失敗しました</string>
<string name="save_error_internal_storage">不具合により、保存フォルダーは内部記録領域に変更されました。</string>
<string name="camera_switch_error">カメラの切り替えに失敗しました</string>
<string name="no_permissions">カメラや記録領域の権限が許可されなければ、このアプリケーションは機能しません。</string>
<string name="no_audio_permissions">動画を記録する為、録音の権限が必要です。</string>
<string name="no_gallery_app_available">利用可能な画像閲覧アプリケーションがありません</string>
<string name="photo_not_saved">この画像は保存されていません</string>
<!-- other aspect ratio -->
<string name="other">その他</string>
<!-- Settings -->
<string name="save_photos">画像と動画の保存先</string>
<string name="show_preview">撮影後に画像の概要を表示</string>
<string name="shutter_sound">撮影効果音</string>
<string name="back_camera">背面カメラ解像度</string>
<string name="front_camera">前面カメラ解像度</string>
<string name="photo">画像</string>
<string name="video">動画</string>
<string name="focus_before_capture">撮影前に再度焦点を合わせる</string>
<string name="volume_buttons_as_shutter">音量ボタンで撮影</string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->
<string name="app_short_description">閃光、拡大機能付きのカメラです。広告はありません。</string>
<string name="app_long_description">このアプリケーションは、静止画と動画の両方が撮影でき、前後のカメラを切り替えたり、保存場所を変更したり、解像度を制限することができます。閃光を利用したり、2本の指で拡大したりする事もできます。動画の撮影中は、閃光を懐中電灯として使用できます。端末の撮影ボタンを押してこのアプリケーションを起動したい場合は、標準アプリケーションを無効にする必要があります。広告や不要な権限は含まれていません。オープンソースで、提供しています。このアプリケーションは、大きな一連のアプリの一つです。他のアプリケーションはhttp://www.simplemobiletools.comで見つけることができます。</string>
<!--
Haven't found some strings? There's more at
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
-->
</resources>
Translation made with Stringlate.
Using Gallery Camera app version 2.3.9 on two Sony Stock ROM's (Android 6.0.1 and 7.0.1) when switching from "photo-mode" to "video-mode" the app crashes.
I'm using a Nexus 5X, when "Use 16:9 ratio" isn't enabled, "Camera" crashes when switching into video mode.
I have translated your application into fr
(français). Here is the xml:
<resources>
<string name="app_name">Simple Caméra</string>
<string name="app_launcher_name">Caméra</string>
<string name="camera_unavailable">Caméra indisponible</string>
<string name="camera_open_error">Une erreur est survenue lors de l\'accès à la caméra</string>
<string name="video_creating_error">Une erreur est survenue lors de la création du fichier vidéo</string>
<string name="video_saving_error">Une erreur est survenue lors de la sauvegarde du fichier vidéo</string>
<string name="video_setup_error">Une erreur est survenue lors de la mise en place de l'enregistreur</string>
<string name="video_mode_error">Échec lors de la permutation vers le mode vidéo</string>
<string name="save_error_internal_storage">Une erreur est survenue, le dossier de sauvegarde a été changer vers la mémoire interne</string>
<string name="camera_switch_error">la permutation de caméra a échoué</string>
<string name="no_permissions">Peu de choses à faire sans accès à ni la caméra ni la mémoire</string>
<string name="no_audio_permissions">Nous avons besoin de l\'autorisation sur l\'audio pour enregistrer des vidéos</string>
<string name="no_gallery_app_available">Pas d\'application album disponible</string>
<string name="no_valid_resolution_found">Pas de résolution valide trouvé avec le ratio sélectionné; utilisation de la résolution maximale</string>
<string name="ok">OK</string>
<!-- Settings -->
<string name="settings">Paramètres</string>
<string name="dark_theme">Thème sombre</string>
<string name="save_photos">Sauvegarder les photos et vidéos vers</string>
<string name="force_ratio">Ratio 16:9</string>
<string name="show_preview">Apercevoir la photo après la prise</string>
<string name="max_photo_size">Limite max de résolution des photos</string>
<string name="max_video_size">Limite max de résolution de vidéo</string>
<string name="no_limit">aucun</string>
<string name="shutter_sound">Son de l\'obturateur</string>
<!-- About -->
<string name="about">À propos</string>
<string name="website">Plus d\'application simple et code source sur :\nhttp://simplemobiletools.com</string>
<string name="email_label">Envoyer votre retour ou suggestions à :</string>
<string name="third_party_licences_underlined"><u > Licence des parties tièrces</u></string>
<string name="invite_friends_underlined"><u >Inviter des amis</u></string>
<string name="share_text">Hey, regardes ça %1$s sur %2$s</string>
<string name="invite_via">Inviter via</string>
<string name="rate_us_underlined"><u >Notez-nous sur le Play Store</u></string>
<string name="follow_us">Suivez nous :</string>
<string name="copyright">v %1$s\nCopyright © Simple Mobile Tools %2$d</string>
<!-- License -->
<string name="notice">Cette application utilise les librairies tierces suivantes pour me simplifier la vie. Merci.</string>
<string name="third_party_licences">Licence des parties tièrces</string>
<string name="kotlin_title"><u >Kotlin (langage de programmation)</u></string>
<string name="glide_title"><u >Glide (chargement et mise en cache d\'image)</u></string>
<string name="filepicker_title"><u >Sélecteur simple de fichier (dialogue filepicker)</u></string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->
<string name="app_short_description">Un appareil photo avec flash, zoom et pas de publicité.</string>
<string name="app_long_description">La caméra est utilisable pour prendre des photos et aussi aussi des vidéos. Vous pouvez choisir entre la caméra avant et la caméra arrière, modifier le dossier d\'enregistrement et limiter la résolution. Le flash peut être allumé et éteint ainsi qu\'utilisé comme lampe de poche. Vous pouvez pincer pour zoomer .\n Si vous souhaitez démarrer cette application au lieu de l\'application d'origine, vous devriez désactivez l\'application d\'origine dans : Paramètres -> Applications -> appareil photo -> désactiver.\n Ne contient ni publicité ni autorisation inutile. L\'application est intégralement OpenSource et est fournie aussi avec un thème sombre.\n Cette application est juste une application d'une grande série d\'applications. Vous pouvez trouvez les autres sur http://www.simplemobiletools.com</string>
<!--
Haven't found some strings? There's more at
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/library/src/main/res
https://github.com/SimpleMobileTools/Simple-File-Picker/tree/master/library/src/main/res
https://github.com/SimpleMobileTools/Simple-File-Properties/tree/master/library/src/main/res
-->
</resources>
Translation made with Stringlate.
Occasionally I want to force the flash on. When I come back to take a picture a day later, I seldom want the flash on and my first action is always to turn it off. Can we not persist this setting? Details:
Therefore, I suggest the implementation of: when the app is opened (ie, in onCreate), if the persisted value is always on
, change it to automatic.
On Android 4.1 I get the error "Unfortunately, Camera has stopped" every time i take a picture. No image is stored.
Hello, it would be nice to be able to take photos using volume button
Hello,
I have a One Plus 5 with 3 cameras (1 at the front 2 at the back) and this app only cycle though 2 of its (the 2 at the back)
The setting should only use the flash if required
Flash goes off a little too early while taking pictures in the dark making the app produces dark photos.
Even if the preview is not 16:9, the saved photo is.
Would be nice to have it as an option
Whenever the phone is laid flat, the view always resets to portrait, even if already in landscape. This is a usability issue for people who wish to take landscape photos facing down (such as from a book). The user needs to rotate the photo afterwards to keep its required orientation.
when camera flash is on, it light continuously
Hi ,
I'm trying to test night photo alg and manually taking many photos ,it's just not effective .
So I find this excelent demo,and wandering if we have a parameter manual adjustment selection in it,
Like Shutter time,focal length, white balance etc. ?
Moto G4 plus
Android 7.0
Simple camera v2.4.1 (F-Droid)
Back camera resolution set to 4608 x 2592 (11.9 MP, 16:9)
When taking pictures using my back camera, not the complete area, visible in the camera view, is safed. Instead, I get an image which is cropped on all four sides. The front camera works fine.
And stop preview on click
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.