Android to Arduino problem
Hello,
I have a small problem I keep getting. My test programs and fun stuff work perfectly on my android phone. It's just that everytime I try to make something for the arduino with the ADK lib I get stuck. Especially when the line
arduino = new ArduinoAdkUsb( this ); //init arduino
if ( arduino.list() != null ) arduino.connect( arduino.list()[0] ); //if there is an arduino to connect to, do so
is used, everything stops. I use the latest version of processing (downladed this morning). The Tellart adk library for adk. When I comment these lines, processing starts to compile and upload. Not that the apk is working, but it doesn't stop compiling. When uncommented, it doesn't work any more.
I tried Tools ArduinoADK, but some how that never worked. I use Run on Device without any problems. Anyone else having trouble getting the ArduinoADK to work? Can anyone give me a hint where I go wrong?
best regards,
Danny