Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AndroidAppmethodC++BuilderCode SnippetDelphiFiremonkey

Code Snippet For Full Screen Interstitial Ads In #Delphi XE8 Firemonkey On #Android

| Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

Delphi XE8 Firemonkey Interstitials Admob Android | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSDeveloper Daniele Spinetti has a blog post up where he shows how to implement interstitial ads from AdMob on Android in Delphi XE8 Firemonkey. The TBannerAd component that ships with Delphi XE8 does the normal banner sizes which are Auto,  Small (320 x 50 px), Medium (468 x 60 px), and Large (728 x 90 px). However, if you want a full page ad (called an interstitial) this is where Daniele’s tutorial comes in. His sample code utilizes the TJInterstitialAd java interface object on Android to show the AdMob interstitial ad. This code only works with AdMob on Android because it uses the Java interface. He also creates a TMyAdViewListener object to handle the events that are associated with showing an ad. This code should also work with Appmethod and C++Builder. If you want a commercial cross platform solution for interstitial ads with more options check out the component suite from JVEsoft.

Head over and check out the sample source code for creating interstitial ads in Delphi XE8 Firemonkey on Android.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts

AutoBlogAI: FireMonkey Client To Leverage LLMs And Generative AI For Blogging


Unleashing Creativity With Song Writer AI: A Deep Dive


How To Build Stable Diffusion Text To Image Prompts


FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes

Sign up for our Newsletter and
stay informed

Leave a Reply