Simple-Camera icon indicating copy to clipboard operation
Simple-Camera copied to clipboard

Add manual shutter speed selection

Open ghost opened this issue 7 years ago • 6 comments

Add the ability to manually select the shutter speed.

ghost avatar Jun 22 '18 19:06 ghost

I'd love to have this too. Looks like different phones handle this differently so you have to parse the camera parameters right?

        Camera mCamera = Camera.open();
        Camera.Parameters params = mCamera.getParameters();

        String flatten = params.flatten();
        String[] paramsSeparated = flatten.split(";");
        for(String cur : paramsSeparated) {
            if(cur.contains("iso") && cur.contains("values")) {
                ...
            }
        }

xeoncross avatar Jan 22 '19 19:01 xeoncross

The Camera app is a nightmate from that point of view. There are so many things done differently depending on the OS version and the manufacturer that there are way too many issues that I cannot reproduce on any of my 5 test devices. Im not really working on the app nowadays, not sure when will I return. Now that some new devices are getting even 4 cameras with different capabilities Im always further from making it a compelling app.

tibbi avatar Jan 22 '19 19:01 tibbi

Thanks for replying @tibbi. I can understand that dilemma. I wish there was more standardization for the API. I guess I'll try my hand with the few devices I have lying around. I'm not a android developer though so I might be in over my head.

For anyone following up on this I found some other libraries which handle some shell + setup for looking into this.

xeoncross avatar Jan 22 '19 19:01 xeoncross

Those are some quite seriously outdated solutions. Anyway I prefer handling such things myself to understand it better since it is the core of the app, not just one of the side features.

tibbi avatar Jan 22 '19 19:01 tibbi

I was just looking at them as a way to modify your application to support camera get/setParameters(). If you know of a better way, please let me know.

xeoncross avatar Jan 22 '19 19:01 xeoncross

I dont really know any better way to do anything, all my best ideas are implemented there.

tibbi avatar Jan 22 '19 20:01 tibbi