I have the PIC24F Android Accessory Development Starter Kit from Microchip. I am running Android 4.4.2 on a Samsung Galaxy S4, however I am unable to get the phone to recognize the USB device when plugged in. The Microchip Accessory Support detection app reads as follows:
android.hardware.usb.accessory=true
com.android.future.usb.UsbAccessory=false
android.hardware.usb.host=true
android.hardware.wifi.direct=true
android.hardware.bluetooth=true
From what I can tell the Accessory mode is supported in Android 3+, is there some process to enable the Accessory mode? Any advice on how I would get this working?
EDIT:
I have contacted support at Microchip, there does seem to be an issue installing the compiler and the Application libraries mentioned in Keelan's answer below. However on a windows machine once the MPLAB X is installed, the 16 bit compiler and the Application Libs. Simply build the Demo firmware and install it onto the device, then attach to an Android device with the Demo app and it all works well !
Best Answer
You do not need to have
com.android.future.usb.UsbAccessory
(if I understand correctly that's your question, right?). This is because this namespace contains only a backported API to enable some kind of support on Android 2.3.4 (source). So the output of the detection app is completely normal and fine.Now, this doesn't solve your problem yet, of course. I have only one idea right now: did you follow the manual? The whole section 6.2 is relevant, but I'm thinking in particular of section 6.2.2, "Preparing the hardware":