Created
September 12, 2013 06:34
-
-
Save dodyw/6533680 to your computer and use it in GitHub Desktop.
Android delay 5m
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| final Handler handler = new Handler(); | |
| handler.postDelayed(new Runnable() { | |
| @Override | |
| public void run() { | |
| // Do something after 5s = 5000ms | |
| Log.i("coba","JALANKAN BARIS INI"); | |
| } | |
| }, 5000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment