Hello , I put my draft version of camera app on Github https://github.com/sizvix/camera_app_B2G
For the moment, I exclusively use standard JS ( I know it could not just make with standard JS )
What I need to do ( in most case, I’m searching if there a way to make it with standards API ) :
- Add Flash ( For automatic flash, is there a light sensor or we make a light average of the image ? )
- set focus ( on previous version of camera we could touch a part of the image and it focus on it , I think we’re far to be able to code it with standards API )
- get informations on camera ( by default, I supposed I get the max video definition, but in general, there is a photo max definition which is better than the video max definition )
- switch of camera ( I know it’s possible in standard API )
- make video in 3gp ( it’s possible that’s depend of the device and its libs )
- put directly files on the filesystem and not download it ( and then manipulate it in the gallery )
- make the manifest to turn it in app
This version could run on desktop browser to test , for the moment , there is no Icon, but letters Mode (M to switch Photo < - > Video ) , Photo (P at middle on the bottom) , Parameters (P top right) , Record (R when you switch mode) , Stop (S when you’re recording) , and the app will send you the video or photo when you make it .