This is not supported in SDK 1.0. You must have a surface to display
the video. If the surface is destroyed, you must pause the video.

On Feb 8, 3:23 am, PianoPan <piano...@gmail.com> wrote:
> Hi,
>
> I refer to the code of apidemo to write a program to play video.  I
> use the MediaPlayer to play the video file, it could play properly on
> background, such as use HOME key return to the main menu screen and
> let the program run on background, the audio of video playback can be
> heard.
>
> But when I switch back to the play program, the program can not render
> the screen, only show a black screen.
>
> Anyone can give me some comments about it? How to resume the surface 
> rendering?
>
> Regards!
>
> Pan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to