Java tutorial
//package com.java2s; //License from project: Open Source License import android.util.Log; public class Main { public static void threadSleep(int ms) { try { Thread.sleep(ms); } catch (InterruptedException e) { Log.wtf("WTF", "WOW! Thread sleep exception. "); } } }