-
-
Save jdamcd/c6bfa67b0f8a6a23681c to your computer and use it in GitHub Desktop.
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
public class BackgroundService extends IntentService { | |
private static final String NAME = "BackgroundWork"; | |
public BackgroundService() { | |
super(NAME); | |
} | |
@Override | |
protected void onHandleIntent(Intent intent) { | |
Log.i(NAME, Example.blocking()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment