Skip to content

Instantly share code, notes, and snippets.

@vsmaks
vsmaks / Connection.java
Last active Aug 29, 2015
android.content.ServiceConnection implementation
View Connection.java
import android.app.Service;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.IBinder;
import android.os.Message;
import android.os.Messenger;
import android.os.RemoteException;
import android.util.Log;
You can’t perform that action at this time.