SDL2 Android, AdMob support

Hi,

Is AdMob (google ads) support integrated in SDL2?
I cannot find it on my latest clone but I see some references on the net.
SDL_android.h should have these functions:

extern DECLSPEC int SDLCALL SDL_ANDROID_GetAdvertisementParams(int *
visible, SDL_Rect * position);
extern DECLSPEC int SDLCALL SDL_ANDROID_SetAdvertisementParams(int
visible, int left, int top);

If its not official yet, can you please check/integrate it, it would help
a lot of us.

thanks,
Giorgos

Huh, is that really within the scope of SDL? Shouldn’t it be handled separately?

What I don’t know though is if SDL allows external Android functions
like that to be linked in. If not, then SDL should probably provide
some support for such a thing (which would be useful for way more than
just this, of course).

2012/11/15 Giorgos Sarris :> Hi,

Is AdMob (google ads) support integrated in SDL2?
I cannot find it on my latest clone but I see some references on the net.
SDL_android.h should have these functions:

extern DECLSPEC int SDLCALL SDL_ANDROID_GetAdvertisementParams(int *
visible, SDL_Rect * position);
extern DECLSPEC int SDLCALL SDL_ANDROID_SetAdvertisementParams(int visible,
int left, int top);

If its not official yet, can you please check/integrate it, it would help a
lot of us.

thanks,
Giorgos


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Um, patches welcome I guess?
Oh don’t forget iAd integration too…

ok seriously, I find it quite outside the scope of SDL
VittorioOn Thu, Nov 15, 2012 at 11:52 AM, Giorgos Sarris wrote:

Hi,

Is AdMob (google ads) support integrated in SDL2?
I cannot find it on my latest clone but I see some references on the net.
*
SDL_android.h* should have these functions:

extern DECLSPEC int SDLCALL SDL_ANDROID_GetAdvertisementParams(int *
visible, SDL_Rect * position);
*
*extern DECLSPEC int SDLCALL SDL_ANDROID_SetAdvertisementParams(int
visible, int left, int top);

If its not official yet, can you please check/integrate it, it would help
a lot of us.

thanks,
Giorgos


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org