Hi All,

In my project I am playing video with VideoView and when incoming call is
there,I pause the video.

But later it takes long time to resume playback.But it resumes to correct
point.

Sometimes it says Video cannot be played while resuming.

Is there any other way to handle pause() and resume() of VideoView.

protected void onPause() {
        super.onPause();
        pos=videoView.getCurrentPosition();
        videoView.pause();
}

protected void onResume() {
        super.onResume();
        videoView.seekTo(pos);
}

Please help,it is urgent.

Thanks
Kavitha

-- 
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