10-06-2013 10:23 PM - edited 10-06-2013 10:48 PM
i have a weird problem. I have an app that makes use of the Camera.
however, the camera will only auto focus if the display direction is not West. In this case, West is when the device is in Landscape mode with the top of the phone pointing to the Left. It works fine if the phone is in Landscape, but the top of the phone is pointing to the Right - aka East.
WTH is up with that? and more importantly, how can i handle this?
EDIT: i should add. When the device is oriented to the West, the auto focus basically looks like it's zooming in until everything is out of focus, then stops (with the image appearing fuzzy and out of focus). Turn the device to the East, the view finder adjusts and focuses normally. it's odd.
10-07-2013 09:14 AM
Which device is it? And do you see that in the built in camera app, as well? What are you doing to handle the focus in the app, and are you using the C or Cascades API?
10-07-2013 11:36 PM
sorry, my post was a little light on detail.
i'm using a Z10.
I have a few ActionItems on the overflow menu. you use them to set the focus mode. when you select one of those options the app will do:
camera1.getSettings(cameraSettings); cameraSettings.focusMode = currentFocusMode; camera1.applySettings(cameraSettings);
is there anythign else to do?
seems like it works fine with the native camera application. I'm sure it's something in my code, but can't for the life of me figure it out.