Thanks. got it working.

On Thu, May 16, 2013 at 2:44 AM, Justin Anderson <[email protected]>wrote:

> I've never heard of the surfaceview getting destroyed after playing a
> video...  That being said, why can't use just use the constructor and
> create a new one if you need to?
>
> Thanks,
> Justin Anderson
> MagouyaWare Developer
> http://sites.google.com/site/magouyaware
>
>
> On Wed, May 15, 2013 at 9:58 AM, Shashidhar <[email protected]>wrote:
>
>> Hi,
>>   I have a framlayout which has 2 childs. One is a surfaceview and the
>> other one is an imageview. I need to play a video on the surfaceview when
>> the activity starts and show the imageview after the video completes. I got
>> this working.
>> But after showing the image for 5 mins, I need to play the video again.
>>
>> How can I do this? I mean as soon as the video completes for the first
>> time the surfaceview is destroyed. How can recreate the surfaceview to play
>> the video for the 2nd time after 5 mins??
>>
>>
>> Thanks,
>> Shashidhar
>>
>> --
>> --
>> 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
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Android Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> --
> 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
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to