How to start an activity after certain time period?

You can use the Handler class postDelayed() method to perform this:

Handler mHandler = new Handler();
mHandler.postDelayed(new Runnable() {

    @Override
    public void run() {
        //start your activity here  
    }

}, 1000L);

Where 1000L is the time in milliseconds after which the code within the Runnable class
will be called.

Try to use this .

Leave a Comment