[Solved] How to add AdMob to the endscreen?
You can add banner ads programmatically and show or hide them in your game’s screens via a listener. Modify your code as follows, make sure you replace “yourAdUnitId” with your real adUnit Id public class MainActivity extends Activity implements MyAdListener{ private GameView gView; AdView adView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); gView = new … Read more