my code:
mSV = (SurfaceView) findViewById(R.id.surface);
MediaPlayer mp = new MediaPlayer();
mp.setDataSource("/sdcard/x.mp4");
mSV.setVisibility(SurfaceView.VISIBLE);
mp.setDisplay(mSV.getHolder());
mp.start();
Video just dont show. But I can hear the sound.
Any thing wrong?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---