Android: Best way to play video in Opengl application -


i'm trying figure out best way play tutorial video in opengl android application.

i tried this , works fine.

now problem how merge opengl application. if launch activity destroy opengl context , have recreate it. best idea @ moment add existing xml layout videoview component , use relative layout overlap on top of opengl view.

i know if option or there better solution.

as far remember context isn't destroyed when glsurfaceview isn't being used, swap videoview till video's done playing switch back. problem relativelayout idea if glsurfaceview have lot on @ time, might bit lower end devices have them both active.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -