Hi, thanks for the sample. Unfortunately I got error when printing the message here: `mUsbManager.hasPermission(mDevice)` I tried debugging and I found out that mDevice is null. Shouldn't it be declared in BroadcastReceiver? Any hints?