[android-developers] Re: setParameters Failed

2010-06-23 Thread grace
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

[android-developers] Re: setParameters Failed

2010-06-23 Thread blindfold
Sorry, this is a developer group, so members are expected to have access to the source code. Best to contact the maker of your APK to have the problem fixed. Regards On Jun 23, 2:36 pm, grace grace.a...@wipro.com wrote: thanks for ur reply, I have gone through the link. As i understand the

[android-developers] Re: setParameters Failed

2010-06-22 Thread nah0y
Hi, in fact this is because of the support preview screen size of your Nexus One, If you try to put width : 480 and height : 320 it should work :D (not 533x310) See Roman Nurik answer here : http://stackoverflow.com/questions/2046523/runtimeexception-on-camera-setparameters-on-nexus-one nah0y.

[android-developers] Re: setParameters Failed

2010-06-22 Thread blindfold
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 grace.a...@wipro.com