You need just to extend the MediaController class and override the hide
() method. (you should leave it blank)

On Jan 30, 6:53 am, chn <[email protected]> wrote:
> Hi,
>
> I have created a media controller to for a media player. But the media
> controller disappears after 3 seconds of inactivity and it again
> visible if i touch the video surface. How can I make it stay
> continuously till the video clip ends?
>
> Following is the my code snippet..
>
>        MediaControllermCntrl = newMediaController(this);
>         mMediaView = new VideoView(this);
>         mMediaView.setMediaController(mCntrl);
>         mMediaView.setVideoPath(path);
>         setContentView(mMediaView);
>         mMediaView.requestFocus()l;
>
> Cheers
> chn

--~--~---------~--~----~------------~-------~--~----~
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