Open teambrainoidtech opened 4 years ago
Looks like I'm also encountering an NPE, specifically in the intent.getExtras()
call. The UsbManager permissions intent doesn't have any extras on some devices (on Android 8 only?), leading to a crash. Have you found a solution / workaround for your case?
In broadcast receiver i am getting null port. even after connecting the device. please help me out on this. i am trying to connect to ch340 device.
here is small code snippet