What exactly is its return value of openAccessory?
Asked Answered
L

1

6

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?

Litt answered 30/10, 2012 at 19:19 Comment(0)
L
1

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().

Litt answered 31/10, 2012 at 12:51 Comment(1)
Please accept your own answer so that the question shows as having been resolved.Johnny

© 2022 - 2024 — McMap. All rights reserved.