tags:

views:

47

answers:

1

Hi, I am able to play a video using VideoView in combination with MediaController. The problem when I started my activity , a bar appears below with media controllers play,pause,rewind ,progress bar representing video. But it disappears after displaying 1 second. Then I how can I make this media Controller bar with controls to display as long as my video plays so that I can pause,rewind my video.

Thanks in Advance

A: 

Try calling show(0) on the MediaController.

CommonsWare
No, but still it is appearing and going in a second. How to make it show constantly. Are there any listeners for MediaController in Android ? Plz give me suggestions in handling this issue.
Android_programmer_camera
@Android_programmer_camera: Then I suspect you will need to write your own controller.
CommonsWare
hey, some times when trying to play video I am getting only audio rather than video . What will be the reason for this.
Android_programmer_camera
@Android_programmer_camera: If you are using the emulator, that is standard behavior. Video does not play back well in the emulator except with a very fast development machine.
CommonsWare
thnakssssssssss
Android_programmer_camera