Thanks for the insight, even calling MediaController.show() after the MediaController is attached to the VideoView yielded to the same result. Is there a way to override how the VideoView will hide/show the MediaController?
On Oct 6, 4:23 pm, Marco Nelissen <[email protected]> wrote: > VideoView itself will hide/show the MediaController as it sees fit, so > your call to show() will only be in effect until VideoView decides to > hide (or show with a timeout) it again. > Also, you are calling MediaController.show() before the > MediaController is even attached to the VideoView. > > On Tue, Oct 6, 2009 at 2:53 PM, Danny <[email protected]> wrote: > > > I have the following code: > > > songView = (VideoView)this.findViewById(R.id.VideoView02); > > MediaController mc = new MediaController(this); > > mc.show(0); > > mc.requestFocus(); > > songView.setMediaController(mc); > > songView.requestFocus(); > > >http://developer.android.com/reference/android/widget/MediaController... > > > According to the doc , it says > > public void show (int timeout) > > The timeout in milliseconds. Use 0 to show the controller until hide() > > is called. > > > I can not get the mediacontroller to show permanently or any other > > time. Anyone successfully get this to work? Thanks in advance! > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

