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
DelphiDemoFiremonkeyIOSLinuxOSXWindows

Bring OpenAI Agents, Vision, Audio, And Realtime AI To Firemonkey

DelphiIDEWindows

Add AI Pair Programming, Refactoring, And Multi-LLM Workflows To RAD Studio

DelphiDemoFiremonkeyLibraryWindows

Bring OpenAI, Local LLMs, And AI Assistants To FMX Apps

DelphiFiremonkeyLibrary

DelphiGemini Brings Native Google Gemini AI Integration To Delphi

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

Leave a Reply