Login  Register

Re: Steps to build Android Demo Application with JOGL

Posted by Xerxes Rånby on Nov 07, 2014; 8:16pm
URL: https://forum.jogamp.org/Steps-to-build-Android-Demo-Application-with-JOGL-tp4033491p4033514.html

One solution would be to use the GL2ES2 capabilities on desktop as well
such a setup would make sure that you only use the common subset of functionality that is part of both desktop opengl 2 and mobile opengl es 2 hardware drivers.

2014-11-07 13:00 GMT+01:00 Vicky Gopalani [via jogamp] <[hidden email]>:
Hi,

Thanks for your help I had successfully deployed first android demo app with JOGL on device.

My current desktop app use GL2 capabilities and current android version JOGL demo app uses GL2ES2 capabilities which has altogether different api's.

So can I deploy GL2 capabilites on android device,I had tried but as such getting null pointer exception

ComponentInfo{com.example.joglsample2android/com.example.joglsample2android.MainActivity}: javax.media.opengl.GLException: Profile GL2 is not available on null.


Thanks,
Vicky


If you reply to this email, your message will be added to the discussion below:
http://forum.jogamp.org/Steps-to-build-Android-Demo-Application-with-JOGL-tp4033491p4033511.html
To start a new topic under jogl, email [hidden email]
To unsubscribe from jogamp, click here.
NAML