how to view an ad after a certain time

hi all

please i want to know how to view a certain ad after a period of time

help me please

If you wanna do it programmatically, you should learn how to add views programmatically (better for debugging because often, ads generally don’t show up in first instance)
ViewGroup | Android Developers
After that works, here you see how to do with admob

This is how you add a delay

private static final ScheduledExecutorService worker =
void methodName() {
Runnable task = new Runnable() {
public void run() {
//here you insert the code that adds your ad
worker.schedule(task, 5, TimeUnit.SECONDS);


Please follow my advice and learn some java basics first so you can extrapolate some things to yourself

Greets, Alex

you can even do this by using a handler, by sending a delayed message

androiddev you are right, a handler is even shorter:

	  final Handler handlerf = new Handler();
	  handlerf.postDelayed(new Runnable() {
	// do ad stuff
	  }, 1337 //time in ms