[SDL] SDL2 on Android: android_app struct pointer
bokorn at tvn.hu
Fri Oct 11 05:20:51 PDT 2013
I'd like to add AdMob ads to my almost-done game. I found a great howto: http://www.dynadream.com/ddweb/index.php/Special_Blog?id=20
The problem is, I can't find out how to get the android_app struct pointer needed for the last step:
// Somewhere you defined this...
extern struct android_app *__gandroidapp__;
I search3e the complete SDL sources for android_app, tried to get it somehow through JNI_GetEnv, but still nothing :(
can someone enlighten me on this topic?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL