Top "Surfaceview" questions

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

How to resize a bitmap eficiently and with out losing quality in android

I have a Bitmap with a size of 320x480 and I need to stretch it on different device screens, I …

android canvas bitmap resize surfaceview
Resizing surface view for aspect ratio change in video display in android

I am working on a video conferencing project. My video display is using surface view. Now during a video call …

android video surfaceview android-mediacodec
Android:Crash: Binary XML file line : Error inflating class (using SurfaceView)

I'm having android surfaceView and in that I'm trying to add buttons to this. In the surfaceView canvas I draw …

android graphics surfaceview
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 the video does not …

android media-player surfaceview surfaceholder
Android canvas fill background color (Canvas application)

By having the following codes, I have some questions. public class MainActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { …

android android-canvas paint surfaceview
SurfaceView in Layout

So I've done a lot of searching but still can't seem to find the exact reason as to why my …

android android-layout layout surfaceview
What's differences between Surfaceview and TextureView?

I've been studying Android especially View system. I have a question differences between them but there is no documents or …

android surfaceview
Android - Take picture without preview

I am trying to take a picture without preview, immediately when my application starts running and after that to save …

android android-camera surfaceview
The surface has been released when I try to setDisplay to MediaPlayer

My xml file: <SurfaceView android:id="@+id/surfaceView" android:layout_marginTop="50dp" android:layout_width="fill_parent" android:layout_…

android surfaceview android-mediaplayer