Friday, February 4, 2011

[android-developers] Re: Video play resume on Activity Switching

HI All,

Waiting for any response!

Thanks & Best Regards
Amit

On Feb 1, 5:53 pm, Amit <amitmishr...@gmail.com> wrote:
> Hi All,
>
> I have created an activity( VideoViewActivity) having a VideoView and
> some Buttons. These buttons are used to perform "Share Video"  on
> various social channels. On click of these buttons i launch another
> activity and share the video link.
>
> When I start the VideoViewActivity, after initial buffering the video
> start playing. While the video is getting played, If I click on any of
> the share buttons, i switch to the respective share
> activity(FacebookActivity, TwitterActivity). When i come back to
> VideoViewActivity, what i observe is that the video play has been
> stopped.
>
> If i see the logcat, video's buffering start from beginning and also I
> have to manually click on the VideoView's play button to start the
> play.
>
> My questions is-
> How can I avoid the Video's buffering to happen from starting after
> coming back to VideoViewActivity, i.e. the video should start playing
> from the point where it got paused.
>
> Thanks & Best Regards
> Amit

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate