Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What exactly is its return value of openAccessory?

I'm struggling with resume of my Android App when connected to USB accessory.

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

Anybody experienced that, yet?

like image 684
KarlchenKanther Avatar asked Oct 30 '12 19:10

KarlchenKanther


1 Answers

Seems to be fixed, I had unread messages in the USB pipe.

The USB accessory did not read the sent messages from Android.

That's why the App couldn't get a new ParcelFileDescriptor from onResume().

like image 147
KarlchenKanther Avatar answered Oct 10 '22 19:10

KarlchenKanther