List of usage examples for android.content Context BIND_DEBUG_UNBIND
int BIND_DEBUG_UNBIND
To view the source code for android.content Context BIND_DEBUG_UNBIND.
Click Source Link
From source file:name.setup.dance.DanceStepApp.java
private void bindStepService() { Log.i(TAG, "[SERVICE] Bind"); bindService(new Intent(DanceStepApp.this, StepService.class), mConnection, Context.BIND_AUTO_CREATE + Context.BIND_DEBUG_UNBIND); }
From source file:edu.umich.flowfence.service.Sandbox.java
private void bind() { onBeforeConnect.fire(this, null); int flags = Context.BIND_AUTO_CREATE | Context.BIND_IMPORTANT | Context.BIND_DEBUG_UNBIND; if (localLOGD) { Log.d(TAG, "binding: " + this); }/*from w ww . j a v a 2s.c o m*/ String[] packages = new String[s_mKnownPackages.size()]; packages = s_mKnownPackages.toArray(packages); Intent bindIntent = new Intent().setComponent(mComponent).putExtras(s_mExtrasBundle) .putExtra(SandboxService.EXTRA_KNOWN_PACKAGES, packages) .putExtra(SandboxService.EXTRA_SANDBOX_ID, mID); if (!mApplication.bindService(bindIntent, mConnection, flags)) { Log.e(TAG, "Couldn't bind to sandbox " + mID); } }