Top "Surfaceview" questions

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

BufferQueue has been abandoned: When playing video with TextureView

Every time I pause my activity (actually Fragment) to go to another app, upon returning with onResume I try to …

android video surfaceview activity-lifecycle textureview
Android SurfaceView scrolling

I'm writing an android application that builds an offscreen bitmap that is (say) 640*480 pixels and displays that in a SurfaceView. …

android scroll surfaceview
Fitting a camera preview to a SurfaceView larger than the display

I have an Android application that needs to fullscreen a camera preview regardless of the preview size given by getSupportedPreviewSizes() …

android android-layout android-camera surfaceview
Take Picture without preview Android

I would like to take a picture without any preview. I used this code but I'm getting an error: public …

android android-camera surfaceview
Programming with SurfaceView and thread strategy for game development

I am using a SurfaceView and a rendering thread to develop a game based on structure like LunarLander. However, I …

android multithreading android-activity surfaceview
Camera2 with a SurfaceView

I'm trying to get the new Camera2 working with a simple SurfaceView and I'm having some problems with the live …

android android-camera surfaceview textureview
WaitingInMainSignalCatcherLoop Error in Android Application

I have an android application that refreshes the screen every 33 milliseconds, displaying a rectangle at a pair of coordinates. Here …

java android surfaceview
Taking screenshot programmatically doesnt capture the contents of surfaceVIew

I have an app that I want to be able to capture a screenshot. The background of the layout is …

android camera storage screenshot surfaceview
How to get a SurfaceHolder with a valid Surface (needed by EGL.eglCreateWindowSurface)?

I try to initialize GLES with EGL (because I want to draw from the main thread instead of using a …

android surfaceview