/IntentService.java Secret
Created
September 22, 2015 18:14
Star
You must be signed in to star a gist
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