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 XE8 Firemonkey Interstitials Admob AndroidDeveloper 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
DelphiFiremonkeyIDEWindows

Easily Let AI Agents Query And Manage Your Databases Via FireDAC MCP

DelphiDemoShowcaseWindows

Build A Tiny, Explainable Language Model Entirely In Delphi

ComponentDelphiDemoFiremonkeyLibraryWindows

Run Google's Gemma 4 Vision Models Natively In Delphi

AndroidComponentDelphiDemoFiremonkeyIOSLinuxOSXShowcaseWindows

Experience ChatGPT As A Native Cross-Platform Firemonkey Application

Sign up for our Newsletter and
stay informed
[mailpoet_form id="1"]