I haven't been able to find any working example on the web. So, I'm thinking this is not possible just yet.
I found this (very long) thread about adding this kind of USB functionality to Android:
http://code.google.com/p/android/issues/detail?id=738
(Everyone sign up and vote for it. Maybe it will push the priority higher.)