Handler handler = new Handler(); handler.postDelayed(new Runnable() { @Override public void run() { //Your task it will execute at 1 time only... } }, 5000);// 5 seconds delay and you can change the delay time...