List of usage examples for android.os IBinder toString
public String toString()
From source file:com.stephenmcgruer.simpleupnp.fragments.FileBrowserFragment.java
@Override public void onServiceConnected(ComponentName name, IBinder service) { Log.d(TAG, "onServiceConnected: " + name.flattenToShortString() + ", " + service.toString()); mUpnpService = (AndroidUpnpService) service; Device device = mUpnpService.getRegistry().getDevice(new UDN(mDeviceUdn), false); mContentDirectoryService = device.findService(new UDAServiceType("ContentDirectory")); if (mContentDirectoryService == null) { throw new IllegalStateException("Unable to find ContentDirectory service for device " + mDeviceUdn); }/*from w w w. ja v a 2s. c o m*/ mDeviceName = (device.getDetails() != null && device.getDetails().getFriendlyName() != null) ? device.getDetails().getFriendlyName() : device.getDisplayString(); selectContainer(mCurrentContainer); }