[Solved] How to pause a few seconds


You need a handler

    Handler handler1 = new Handler();
    for(int i=0;i<3;i++) 
    {
        handler1.postDelayed(new Runnable() {

            @Override
            public void run() 
            {
                File imgFile = new  File(paths[i]);

                if(imgFile.exists())
                {

                    Bitmap myBitmap = BitmapFactory.decodeFile(imgFile.getAbsolutePath());
                    mimage.setImageBitmap(myBitmap);
                }
            }
        }, 5000 * i );
    } 

3

solved How to pause a few seconds