What is its return value of openAccessory?

I am trying to resume my Android application when connected to a USB accessory.

Obviously, my ParcelFileDescriptor is null, and the openAccessory() method does not return anything when I call it onResume() .

Has anyone experienced this yet?

+4
source share
1 answer

It seems to be fixed, I had unread messages in the USB port.

The USB accessory did not read sent messages from Android.

That the application could not receive new ParcelFileDescriptor from onResume() .

0
source

Source: https://habr.com/ru/post/1443076/


All Articles