See the "declined" issue discussion on setPreviewSize() at http://code.google.com/p/android/issues/detail?id=7909 and the recommendations made there by Wu-Cheng (Comment 29).
Regards The vOICe for Android http://www.seeingwithsound.com/android.htm On Jun 22, 10:59 am, grace <[email protected]> wrote: > Hi, > > I have downloaded one open source ocr application. > when i run it on the g1 phone it is working,but for the nexus one its > throwing up a exception telling > E/QualcommCameraHardware( 52): Invalid preview size requested: > 533x310 > > E/AndroidRuntime( 5038): java.lang.RuntimeException: setParameters > failed > > hoe can i make this work on nexus too. > > thanks in advance.. > > Grace. -- 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

