Hi,

We are using MediaController in a media player. We want media
controller to "hide" as soon as the video playback starts.
MediaController has default behavior to hide after 3 seconds of
inactivity.

How can we make MediaController invisible as soon as the video
playback start ?


Following is the code snippet, which does not seem to work the way we
want it:

VideoView mVideoView;
MediaController mediaController;

//...

mVideoView.setVideoURI(uri);
mediaController = new MediaController(this);
mVideoView.setMediaController(mediaController);

mediaController.hide();

mVideoView.requestFocus();
mVideoView.start();


Thanks And Regards,
Vrukesh
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to