onSurfaceTextureAvailable in VideoView is never called...
I have this view that is holding the textureview.
public class MyMediaPlayer extends RelativeLa
i had the same problem , strangely resolved it with the following code
videoPreview = (TextureView) linearLayout.findViewById(R.id.videoView);
FrameLayout.LayoutParams params = (FrameLayout.LayoutParams)videoPreview.getLayoutParams();
params.height = 130;
params.width = 508;
videoPreview.setLayoutParams(params);
videoPreview.setSurfaceTextureListener(this);
More strangely if i set only the width or the height that dosent work either.