thanks for ur reply, I have gone through the link. As i understand the fix for this problem is to give the supported parameters to the camera object which we get from the list of getSupportedPreviewSizes().
but my case is little different i guess,i just have the apk of the application i downloaded not the source code to make the changes accordingly. I am trying to run it on N1 which has 2.1 update1. so,how to use the above fix to solve this issue on my phone. pls help.. On Jun 22, 5:49 pm, blindfold <[email protected]> wrote: > See the "declined" issue discussion on setPreviewSize() > athttp://code.google.com/p/android/issues/detail?id=7909and the > recommendations made there by Wu-Cheng (Comment 29). > > Regards > > The vOICe for Androidhttp://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

