USB communication between Android 2.1 phone and Windows 7 PC
1 answer
You need to read this developer site.
Android supports USB Host mode on API 12 and above (3.1 Honeycomb).
Android supports USB Accessory mode on API 10 and above (2.3.4 Gingerbread).
The difference between host and accessory mode is which device is providing power. I'm not sure which one you would like to use, but if Android is the Host (Host Mode), then it will provide power to the computer (maybe not what you want). In accessory mode, Android will remove power from the computer.
Unfortunately, I don't think you can do this on 2.1 at all.
+1
source to share