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 -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -