Wednesday, May 15, 2013

[android-developers] Recreating a surface view

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 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
---
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 android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment