This library adds support for AdiQuity advertising: AdIQuity | Global Mobile Ads Platform
In order to use this library you should sign with them and register a new Android app.
You should download their SDK and copy AdiquityAndroidSDK.jar to the libraries folder.
Integrating this library is pretty simple. You should create an AdiquityAdView and add it to the activity.
By default ads are refreshed every 30 seconds.
Note that you should call StartAds, PauseAds and ResumeAds as done in the following code:
Note that Anywhere Software is not affiliated with AdiQuity.
In order to use this library you should sign with them and register a new Android app.
You should download their SDK and copy AdiquityAndroidSDK.jar to the libraries folder.
Integrating this library is pretty simple. You should create an AdiquityAdView and add it to the activity.
By default ads are refreshed every 30 seconds.
Note that you should call StartAds, PauseAds and ResumeAds as done in the following code:
B4X:
Sub Process_Globals
End Sub
Sub Globals
Dim ad As AdiquityAdView
End Sub
Sub Activity_Create(FirstTime As Boolean)
ad.Initialize("ad", "your-site-id-from-adiquity", ad.ADSIZE_300x50)
Activity.AddView(ad, 0, 100%y - 50dip, 300dip, 50dip)
'ad.SetTestMode 'uncomment to show a test message
ad.StartAds
End Sub
Sub Activity_Resume
ad.ResumeAds
End Sub
Sub Activity_Pause(UserClosed As Boolean)
ad.PauseAds
End Sub
Sub ad_AdRequestFailed
Log("AdRequestFailed")
End Sub
Sub ad_AdRequestCompletedNoAd
Log("AdRequestCompletedNoAd")
End Sub
Sub ad_AdRequestCompleted
Log("AdRequestCompleted")
End Sub
Note that Anywhere Software is not affiliated with AdiQuity.