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

Surfaceholder.lockcanvas Returns Null If The Surface Is Not In The Foreground

I'm currently doing a test with a LiveWallpaper in Android. I am drawing something on the canva… Read more Surfaceholder.lockcanvas Returns Null If The Surface Is Not In The Foreground

How To Attach Mediaplayer With Surfaceview In Android?

I'm building video player with android media player object. i'm able to hear the audio but … Read more How To Attach Mediaplayer With Surfaceview In Android?

Getting Image Data Continuously From Camera, Surfaceview Or Surfaceholder

So I have this camera preview set up with Camera, SurfaceView and SurfaceHolder. I have also an Ima… Read more Getting Image Data Continuously From Camera, Surfaceview Or Surfaceholder

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