Handler handler = new Handler(); handler.postDelayed(new Runnable() { public void run() { // yourMethod(); } }, 5000); //5 seconds