[android-developers] MediaPlayer video not showing

2012-11-28 Thread Davide Moriello
hallo everyone, I have to play a video in my android app but I have some problems. I hear the audio but I don't see any video. The code is this: This is where the surface is created and the game starts. [...] public void surfaceCreated(SurfaceHolder holder) { level.playerholder = holder;

[android-developers] MediaPlayer video not showing

2012-11-28 Thread Davide Moriello
Hello everyone, I have this stupid problem with playing a video on my app (game). It's very easy. Just don't work. I'm 100% sure it's not the video codec because I have tried with a video that should work 100% sure. Uri srcPath = null; switch(startVideo){ case 1: srcPath