title: Android USB OTG Read Usb Drive
body: <p>I am currently working on a project which requires Usb Host mode in Android (using 4.2.2). I need to be able to do standard file operations like listing files and reading from a usb drive. Using the host mode documentation I have gotten to the point of being able to detect the drive is connected, is USB mass storage, and find the various endpoints. </p>
  
  <p>Where I get stuck is what to do after that. I guess I don't really understand the difference between control and bulk transfers or in the case of control transfers what is really even happening. Unfortunately my knowledge of USB itself is somewhat limited and I hear the documentation is rather daunting.</p>
  
  <p>Can anyone help guide me through, or point me towards a working example for, what I would need to do to essentially "mount" the usb drive? As I said previously I just need those file operations of listing files and reading them, not writing. I should also mention that the target phone is the Galaxy Nexus by Samsung. </p>
  
  <p>Thanks</p>