java Programming Glossary: surfaceview
Full screen videoview without stretching the video http://stackoverflow.com/questions/12211837/full-screen-videoview-without-stretching-the-video you can set the properties of the video by yourself. Use a SurfaceView gives you more control on the view set it to fill_parent to.. match_parent android layout_height fill_parent SurfaceView android id @ id surfaceViewFrame android layout_width fill_parent.. layout_height fill_parent android layout_gravity center SurfaceView Linearlayout then on your java code get the surface view and..
Drawing to a SurfaceView in Android http://stackoverflow.com/questions/6690898/drawing-to-a-surfaceview-in-android to a SurfaceView in Android I'm trying to do some very simple drawing into a.. Android I'm trying to do some very simple drawing into a SurfaceView but I can't get it working. There are no exceptions but I don't.. any result either. More precisely I'm trying to create a SurfaceView and fill it with a single colour. Here goes my code public class..
How to use Camera to take picture in a background Service on Android? http://stackoverflow.com/questions/7398897/how-to-use-camera-to-take-picture-in-a-background-service-on-android can take pictures without preview with an dummy view. like SurfaceView view new SurfaceView this c.setPreviewDisplay view.getHolder.. preview with an dummy view. like SurfaceView view new SurfaceView this c.setPreviewDisplay view.getHolder c.startPreview c.takePicture..
Android Camera will not work. startPreview fails http://stackoverflow.com/questions/7942378/android-camera-will-not-work-startpreview-fails AndroidRuntime 5040 at com.matthewmitchell.nightcam.CameraSurfaceView.surfaceCreated CameraSurfaceView.java 47 10 30 00 31 52.588.. CameraSurfaceView.java 47 10 30 00 31 52.588 E AndroidRuntime 5040 at android.view.SurfaceView.updateWindow.. 10 30 00 31 52.588 E AndroidRuntime 5040 at android.view.SurfaceView.updateWindow SurfaceView.java 544 10 30 00 31 52.588 E AndroidRuntime..
Android: how to display camera preview with callback? http://stackoverflow.com/questions/8350230/android-how-to-display-camera-preview-with-callback have tried these solutions 1. Display camera preview on a SurfaceView as a Bitmap. It works but the performance is about 6fps. baos.. bmp 0 0 paint 2. Display camera preview on a GLSurfaceView as a texture. Here I was displaying only luminance data greyscale.. in another question . 3. Display camera preview on a GL SurfaceView using NDK to process the YUV data. I find a solution here that..
Video processing in Android http://stackoverflow.com/questions/8620560/video-processing-in-android For fast moving data you would want to display this on a SurfaceView using the lockCanvas and unlockCanvasAndPost methods available..
|