Top "Surfaceview" questions

SurfaceView is a widget on the Android platform which provides a dedicated drawing surface.

Turn ON / OFF Flashlight using SurfaceView

I am writing an Android Camera App and trying to implement Flash functionality, I am using SurfaceView, whenever i do …

android flash surfaceview flashlight
BUG: createWindowSurface failed EGL_BAD_ALLOC

I have an application on Google Play for counting down numbers and letters. In this application I have the following …

java android surfaceview
Android : holder.getSurface() always return null

My view is a bunch of normal widget and a surfaceview. I don't know why after I get surfaceholder of …

android android-layout surfaceview surfaceholder
SurfaceView vs TextureView for Camera?

I want to incorporate a camera feature in my app, that will allow layout transitions of the view itself, changing …

android android-camera surfaceview textureview
SurfaceView flickering/tearing

I'm trying to figure out how to work around my problem. I've read http://groups.google.com/group/android-developers/browse_…

android rendering flicker surfaceview tearing
Android SurfaceView not showing onDraw

For simpleness of the question, I'm drawing an integer on a SurfaceView which increases by 1 every draw. The increasing actually …

android surfaceview ondraw
Android button on top of Camera preview

I would like to add button on Android CameraPreview. Basically the hierarchy is following: Activity ViewGroup SurfaceView ViewGroup is wrapper …

android android-layout surfaceview viewgroup
Restarting/Pausing Thread in onResume/onPause

I'm have a game that's uses SurfaceView implementation to display the objects. I have a thread which draws the SurfaceView …

android multithreading surfaceview onresume onpause
Canvas in SurfaceView - hardware acceleration

I'm developing on ICS and trying to understand why a Canvas.isHardwareAccelerated() will always return FALSE when using a Canvas …

android canvas surfaceview hardware-acceleration
Taking a picture as fast as possible with Camera API on Android

Scenario: I need to take a picture as fast as possible and save it to SD Card. It would be …

android android-camera surfaceview