Create a gist now

Instantly share code, notes, and snippets.

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