13 April 2015 by Batista Harahap on android | notetoself | camera

Android's Camera Preview

This is a note to self post. Today I've been figuring out to have my own custom Camera Activity. A newbie mistake made the Activity to block the UI when initializing. Here's the problem and the fix. I started camera.startPreview() at surfaceCreated(SurfaceHolder holder). When I moved to surfaceChanged(

Read more