Hi,
I try to write a streaming player AP with videoView to play the
streamming video.
If there is an incoming phone call during the streaming video is
playing, I'll call mediaplayer.pause() in onPause() to pause the
video.
Streaming AP will be put to background, and the surface of the
videoView will be destroyed. When the phone call is end and then
returns to the streaming player AP, the mediaplayer will play with
only audio, the screen will be full dark. I tried to set the surface
holder got from surfaceCreated() to mediaplayer through setDisplay(),
but it still not work.

Is there any way to prevent reconnecting to the streaming server when
the streaming player AP is interrupted by incoming phone call?

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