Hi
I am using the code of APIDemo for streaming video.
I want to add control bar to the videoview.
I added the following code to the MediaPlayerDemo_Video.oncreate but
the control was not shown:
mPreview = (VideoView) findViewById(R.id.surface);
MediaController mediaController = new
MediaController(mPreview.getContext());
mediaController.setAnchorView(mPreview);
mediaController.setMediaPlayer(mPreview);
mPreview.setMediaController(mediaController);
any idea why?
thanks
Zohar
--
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