I am attempting to connect a Mega 2560 with a Keyes USB Host shield to smart phone running Android 4.4.2. I am using Arduino 1.6.1. I have tried many examples provided in the USB_Host_Shield_20 which is supposed to be compatible. So far I have been unsuccessful. Most of the examples on the internet and in the books that I have tried either will not compile or I can not get the android app that is needed on the phone to run.
I know that the shield is functioning correctly based on the reports from the board test sketch and I have been able to use a USB bluetooth dongle to communicate with the android.
Does anyone know of a complete example ( both a sketch and the associated android app)?