This simple code:
Camera.Parameters params = currentCamera.getParameters();params.setPreviewFpsRange( 10000, 15000 ); currentCamera.setParameters( params ); does not work on my Nexus 4 (or my Motorola Atrix), despite the allowed values being between within the allowed range: preview-fps-range-values(5000,120000) as returned by a dump of the camera parameters a la: Log.d( LOGTAG, "Params: \n" + params.flatten() ); I get: setPreviewFpsRange(const android::QCameraParameters&): error: FPS range value not supported which is silly. Also, I tried this code on my older Motorola Atrix (which shows a valid fps range to be between 10000 and 30000) and it also doesn't work. Anything that can be done? Fundamentally, the reason that I'm wanting to set the previewFpsRange is because the camera app on the Nexus 4 runs much smoother and at a higher framerate than my camera app. I've done as much optimization as seems prudent but it still won't run faster and have come to setting the previewfpsrange as the solution; however, that doesn't seem to be working on either of my devices. Is setPreviewFpsRange() actually supported on all devices? Thanks all! Laikis -- -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

