title: USB communication between Arduino Mega ADK 2560 and Samsung Galaxy S2
body: <p>I try to provide a usb communication between Arduino Mega ADK 2560 (there are two types of it, I use the one having two usb ports on it) and Samsung Galaxy S2 whose version 2.3.5 (custom build). However, when I try demokit code given in Arduino's website, I always get an error which is <code>error 5 : Device descriptor cannot be retrieved. Trying again.</code> </p>
  
  <p>Demokit code includes;</p>
  
  <pre><code>AndroidAccessory acc("Google, Inc.",
               "DemoKit",
               "DemoKit Arduino Board",
               "1.0",
               "http://www.android.com",
               "0000000012345678");
  
  acc.powerOn();
  acc.isConnected();  ---error occurs here!
  </code></pre>