Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [Android]Use AdMob with SFML  (Read 3274 times)

0 Members and 1 Guest are viewing this topic.

IsDaouda

  • Full Member
  • ***
  • Posts: 212
    • View Profile
    • Email
[Android]Use AdMob with SFML
« on: April 04, 2018, 12:14:32 pm »
Hello everybody,  :)

Is it possible to use Admob with SFML to display ads?

If so, I will be glad that you advise me a tutorial that explains how to implement this module (without using Android studio because I want to use the example of SFML to do the test). I did some research on google but I found nothing concrete.

Thank you in advance for your solutions.  :)

AlexAUT

  • Sr. Member
  • ****
  • Posts: 396
    • View Profile
Re: [Android]Use AdMob with SFML
« Reply #1 on: April 05, 2018, 06:44:15 am »
It is definitely possible, I did it some time ago based on this tutorial:

http://www.dynadream.com/ddweb/index.php/Special_Blog?id=20

AlexAUT
« Last Edit: April 05, 2018, 06:47:39 am by AlexAUT »

IsDaouda

  • Full Member
  • ***
  • Posts: 212
    • View Profile
    • Email
Re: [Android]Use AdMob with SFML
« Reply #2 on: April 05, 2018, 07:49:57 pm »
Thanks for your help.
I will follow this tutorial to get to my end

IsDaouda

  • Full Member
  • ***
  • Posts: 212
    • View Profile
    • Email
Re: [Android]Use AdMob with SFML
« Reply #3 on: April 06, 2018, 07:37:35 pm »
I managed to integrate Admob with the example of SFML, but when I display the ad I only have a gray box. For so much there is the connection.

Where can the problem come from?

PS: I'm doing the test with the android emulator.

AlexAUT

  • Sr. Member
  • ****
  • Posts: 396
    • View Profile
Re: [Android]Use AdMob with SFML
« Reply #4 on: April 07, 2018, 08:07:00 pm »
Your problem is not really related to SFML, so maybe a admob forum would be a better place to ask.

Have you enabled the test ads? iirc real ads are only shown once you deployed your app.


AlexAUT

IsDaouda

  • Full Member
  • ***
  • Posts: 212
    • View Profile
    • Email
Re: [Android]Use AdMob with SFML
« Reply #5 on: April 09, 2018, 11:57:10 am »
Apartment the standalone Admob SDK used in this tutorial is deprecated (Does not work anymore). Only the Google Pay Services version can be used.
« Last Edit: April 12, 2018, 12:55:32 pm by IsD »

 

anything