Last active
August 29, 2015 14:10
-
-
Save germanviscuso/791bd3f1209d5c27e74e to your computer and use it in GitHub Desktop.
Quickly launch Java background task (works on Android)
This file contains 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
(new Thread(new Runnable() { | |
public void run() | |
{ | |
//CODE HERE RUNS IN BACKGROUND | |
} | |
})).start(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment