Skip to content Skip to sidebar Skip to footer
Showing posts with the label Surfaceholder

What Is The Use Of Calling Surfaceholder.setfixedsize()?

I have similar code to many examples floating around the net: mSurfaceHolder = mVideoSurface.getHol… Read more What Is The Use Of Calling Surfaceholder.setfixedsize()?

.setpreviewdisplay(holder) Throwing Null Pointer Exception

I am developing a custom camera application.Given below is my Activity class. public class MyCustom… Read more .setpreviewdisplay(holder) Throwing Null Pointer Exception

Surfaceholder.lockcanvas() Returning Null

I'm making a game, and since I'm new to Android, I based the design off of the example Luna… Read more Surfaceholder.lockcanvas() Returning Null