USB Accessory on Android 2.3.4 Error / Not Error

view full story

http://androidforums.com – I'm playing with USB Accessory mode and I have an error which is not an error so I'm confused. In the description [1] it shows that you have to set up a Broadcast Receiver to receive the permission to use the device. I'm using a Microchip dev board so used their Firmware in the device and their Android app to start with and then branched out to use my own Android App and found that my Broadcast Receiver once it has the accessory in the example [1] and starts to set up the Comms with the device I get an error. Basically once I have the accessory I try to get a ParcelFileDescriptor to set up (General)