Setparameters Failed When Setting Sepia, But Zoom Works Fine
I am making an app which employs the camera. When it starts up it executes code to check the capabilities of the camera. One check I do is the following: List sup
Solution 1:
This is how it works (or doesn't). On some devices some settings that are declared to be supported, fail. Sometimes it fails with RuntimeException, but often - silently: you set preview size to 320x240 on a Galaxy Nexus, but the callback brings back VGA frames.
Some settings are not compatible with the others: maybe Sepia is not compatible with your preview size, or must be set while preview is stopped.
One good test would be to see if you can choose Sepia in the built-in camera app on the same device.
Post a Comment for "Setparameters Failed When Setting Sepia, But Zoom Works Fine"