My guess would be that the h & w you are passing to setPreviewSize(w,
h) is not a supported preview size for the N1.

You'll need to use Camera.getSupportedPreviewSizes() and choose one
from there that will work for your needs.

Try commenting that line out and see if it matters. The default
preview size might be too small for whatever youre doing with the
image but at least you'll know you need to choose an actual supported
one.

But...without the stack trace it's just a blind guess.

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

Reply via email to