Hello.

I'm trying to develop a video player capable of showing both
fullscreen and windowed mode. The user originally starts watching the
video in the windowed mode and, when he wants to switch to fullscreen
I follow the steps below:

 1) Remove the SurfaceView from the current activity
 2) Create a fullscreen dialog
 3) Add the SurfaceView to the new dialog
 4) Restart the VideoPlayer (prepare and then play)

But this process is slow, as I'm playing a video from a remote server.
So, I'd like to find a way of switching to fullscreen mode, but
without the obligation to reload the video.
If I don't call prepare and play, the audio continues to play, but no
video is shown in the surface view.

Does anyone have an idea of how to switch to fullscreen mode without
reloading the video?

Thanks in advance.

Bolha

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to