How to get a Camera Preview in android? -


Everyone knows about anyone's camera API in Android. When I used this API, it's a black and white grid and a square is running on it. Nobody knows how to get a real-time camera preview, help me with some code.

See also

You are calling the last three lines very quickly . Before you call SetPreviewDisplay (), you have to wait for the surface to be ready and you have to wait for the surface to be changed (before changing the page). What do you want.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -