Android Question code example to load banner and interstitial ?

Carta

Member
how do i load bunner and interstitial in activity? I have already performed all the admob firebase procedure and updated the libraries. I just need to figure out how to get banners and interstitials.
 

Attachments

  • 1645027262545.png
    1645027262545.png
    312 bytes · Views: 121
Last edited:

Lucas Siqueira

Active Member
Licensed User
Longtime User
Upvote 0

Carta

Member
I followed everything but the app does not start debug!

The Manifest :

'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="30"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
CreateResourceFromFile(Macro, Themes.LightTheme)




CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase)
CreateResourceFromFile(Macro, FirebaseNotifications.FirebaseNotifications)
CreateResourceFromFile(Macro, FirebaseAnalytics.FirebaseAnalytics)
CreateResourceFromFile(Macro, FirebaseAdMob.FirebaseAds)
CreateResourceFromFile(Macro, FirebaseAuth.FirebaseAuth)
 
Upvote 0

asales

Expert
Licensed User
Longtime User
The example was updated:

Check this example too:
 
Upvote 0
Top