I found some posts about not have a preview-callback. But my camera
does not have a preview-callback set at all. I'm wondering where this
IOException is coming from. Is it specific to the Hero?

On Feb 18, 7:23 am, Streets Of Boston <flyingdutc...@gmail.com> wrote:
> This is the stack trace:
>
> Android OS: 1.5
> Model: HERO200
> Make: heroc:sprint
>
> Caused by: java.io.IOException: autoFocus failed
>         at android.hardware.Camera.native_autoFocus(Native Method)
>         at android.hardware.Camera.autoFocus(Camera.java:313)
>         at com.streetsofboston.smugdroid.snapfx.camera.SmugCamera
> $Preview.autoFocus(SmugCamera.java:1492)
>
> This exception is not documented. The JavaDoc of Camea.autoFocus does
> not mention this exception at all.
> How can i prevent this from happening or can i just catch it and
> continue to instruct the camera to take a picture.
>
> Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to