easefunSZ / cocos2d-android

Automatically exported from code.google.com/p/cocos2d-android
Other
0 stars 0 forks source link

How to add VideoView or TextView or android native component #31

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I am trying to add a EditText and a VideoView with the GLSurfaceView as a new 
Scene. 
Please let me know how to do it?
I have tried to add it through getting activity from surfaceview added in my 
activity and then create a view and add on that activity but earlier I was 
getting Bad Token exceptions but some how I fixed it. But then I could able to 
add Videoview only once and then on again coming back to the same videoview 
scene I could not able to see the video, but I am able to here sound from that 
video. I have also tried to use bringToFront method but doesn't work.

For adding EditText, same happend as above, and also I was not able to set its 
position, it was always set at 0,0 location.

May be I am following wrong steps, please let me know the correct procedure for 
it.

Thank you,
Regards,
Aparna Bhure

Original issue reported on code.google.com by aparnabh...@gmail.com on 31 Mar 2011 at 4:45

GoogleCodeExporter commented 8 years ago
I have also to implement video view in cocos2d android , can u help how to 
implement.

Original comment by gaurav00...@gmail.com on 10 Jul 2013 at 10:19

GoogleCodeExporter commented 8 years ago
Please see the attachment. There would be another way, let me also know if you 
found.

Thank you,
Regards,
Aparna Bhure

Original comment by aparnabh...@gmail.com on 12 Jul 2013 at 3:05

Attachments: