Service not binding
问题 I have an android device with an integrated barcode scanner. I'm setting up the service as follows: public class BarcodeService extends Service { private final LocalBinder binder = new LocalBinder(); public class LocalBinder extends Binder { public BarcodeService getService() { return BarcodeService.this; } } @Override public IBinder onBind(Intent arg0) { return binder; } @Override public void onCreate() { super.onCreate(); HandlerThread thread = new HandlerThread("ServiceStartArguments");