Top "Surfaceview" questions

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

Switch To Front Camera and Back Camera Android SurfaceView

I want to use the switch camera function. Currently I have Developed a Camera Object That working fine for back-camera …

android camera surfaceview capture
How to properly use setZOrderMediaOverlay on Android?

Like many others, I am trying to draw 3D objects (using GLSurfaceView) on camera preview (using SurfaceView), along with some …

android surfaceview z-order glsurfaceview
SurfaceView sample code

I need a sample tutorial for the android SurfaceView, or sample code using it that can be shared. The API …

android surfaceview demo
Android Camera - app passed NULL surface

Whenever I run the cam_thread I get the error "app passed NULL surface". This code supposedly works on the …

android camera surfaceview robot surfaceholder
How to implement pinch-zoom feature for camera preview

i tried pinch-zoom feature for image from this.it works fine but how can i implement pinch-zoom feature for camera …

android camera zooming surfaceview pinch
SurfaceView Example

So I've spent about two days trying to get a working SurfaceView. Tutorials I am following online aren't working even …

java android canvas surfaceview surfaceholder
How to take a screenshot of Android's Surface View?

I want to programatically take screen shot of my game, just as you'd get in Eclipse DDMS. Screenshot taken through …

android screenshot surfaceview
"The surface has been released" error

I am creating a media player for online videos, but when I try to run it, I get this error: "…

android media-player surfaceview android-videoview
Getting Bitmap from Custom SurfaceView

I have this code in a class that extends surface view and implements runnable I am able to use the …

android bitmap android-canvas surfaceview extends
Fix Android Camera app aspect ratio and rotation

How it looks: http://i41.tinypic.com/30278m1.png It looks like in the pic ,I want it to have …

android android-camera surfaceview aspect-ratio