Login  Register

Re: Recreating Jogl2 Android demo projects in Eclipse

Posted by asambol on Nov 21, 2012; 8:06am
URL: https://forum.jogamp.org/Recreating-Jogl2-Android-demo-projects-in-Eclipse-tp4027079p4027132.html

>> 2. I created a new Android project in Eclipse, inside package my.package. I
>> added your classes NEWTRedSquareES2Activity and
>> NEWTRedSquareES2ActivityLauncher to my package, and of course, the
>> RedSquareES2 class.
>
> So it still reads: 'class NEWTGearsES2ActivityLauncher extends LauncherUtil.BaseActivityLauncher' ?

Nope, the original GearsES2 launcher doesn't extend BaseActivityLauncher either, but it still works from your apk: http://jogamp.org/git/?p=jogl.git;a=blob;f=src/test/com/jogamp/opengl/test/android/NEWTRedSquareES2ActivityLauncher.java;h=96299e873651dce5dc2b99f7b6c5f94036ece402;hb=HEAD

>> 4. My manifest file looks like this: http://pastebin.com/H957x3bi
>
> Can you make that
>  '<activity android:name=".NEWTRedSquareES2ActivityLauncher"'

> explicit like in ours:
>
>   <http://jogamp.org/git/?p=jogl.git;a=blob;f=make/resources/android/AndroidManifest-test.xml;hb=HEAD
>
> but I guess that is not the issue, but the Intent's data .. see above.

Tried that, no effect.