Java tutorial
//package com.java2s; import android.os.SystemClock; public class Main { /** * TODO tyc * Sleep for a while, without dealing with the exception. * * @param time The time to sleep, in milliseconds. */ public static void sleep(long time) { SystemClock.sleep(time); } }