did you get any solution for this issue, I am also facing it.

thanks for help

-ashutosh
On Thursday, February 3, 2011 11:59:54 AM UTC+5:30, kavitha wrote:
>
> 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