I'm having a very hard time figuring this out. I'm using a SurfaceView to 
display the camera preview using camera.setPreviewDisplay(surfaceview).

But I can't figure out how to get the frame rate. I've tried using the 
Camera.PreviewCallback interface but it seems it's onPreviewCallback() method 
calls lag behind the actual preview. In other words, even with a smooth preview 
I only get about 15 calls to onPreviewCallback().

Is there any way to get the frame rate directly from the camera? Maybe there's 
an NDK solution?

-- 
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.

Reply via email to