This is a wrapper of Google AppOpen Ads library for B4i. I made this for @Jack Cole and he gave me permission to post this in forum to help other users.
B4A wrapper is available here.
iGADAppOpenAd
Author: @Biswajit
Version: 1
B4A wrapper is available here.
iGADAppOpenAd
Author: @Biswajit
Version: 1
- iGADAppOpenAd
Google AppOpenAd.- Events:
- AppOpenAd_Event (event As String)
- Functions:
- Initialize (callback As Object)
Initializes the object on Application_Start. - IsInitialized As BOOL
Tests whether the object has been initialized. - RequestAppOpenAd (adID As String)
Request an ad for later use.
Like you can call this after the user dismisses the first ad. - SetTestDevices (ID As String)
NOT NEEDED FOR SIMULATORS
If you are testing the ad integrtion then call this after initializing.
ID that is displayed in the logs - TryToPresentAppOpenAd (adID As String)
Call this method on Application_Active event.
If there is no ad loaded then it will first load the ad then present the ad.
- Initialize (callback As Object)
- Events:
- Download the latest libraries from here.
- Download the attached library zip.
- Copy the .a and .h to the local build server Libs folder on your mac.
- Copy the xml file to the B4i additional library folder on windows.
- Download the GoogleMobileAds frameworks from: www.b4x.com/b4i/files/GoogleMobileAds-v7.69.0.zip
- Copy all the frameworks to the local build server Libs folder on your mac
Attachments
Last edited: