Code example for Binder

0
import android.content.Intent; 
import android.os.Binder; 
import android.os.IBinder; 
 
public class FakeCoreService extends Service { 
    final Binder mBinder = new Binder(); 
 
    @Override 
    public IBinder onBind(Intent intent) { 
        return mBinder; 
    } 
}