Dan Sosedoff
Dan Sosedoff

Reputation: 2869

Is there a way to communicate with USB devices on Android?

I have a really short question: Is it possible to communicate/use USB devices on Android OS? I assume it might be tablet device.

Lest say i want to connect some sort of USB card scanner to android tablet. Will it work? Do i need to write drivers by myself?

Thanks.

Upvotes: 8

Views: 4665

Answers (3)

David Schwartz
David Schwartz

Reputation: 182761

Yes, it will work, and you do not need to write drivers for the Android side. However, the device must support the open accessory protocol and must be able to supply power to the Android device. A development kit is available.

However: "Accessory mode is ultimately dependent on the device's hardware and not all devices support accessory mode."

Upvotes: 0

ben
ben

Reputation: 11

Yes, some phones can work as hosts, like the DROID. Do a Google search for connecting a USB keyboard to an android phone, such as here: http://www.tombom.co.uk/blog/?p=124

Upvotes: 1

Ben Voigt
Ben Voigt

Reputation: 283634

First, you need a USB host port on your tablet. Except for On-the-Go (which is a special design that can be either host or device), it is not possible to connect two USB devices together. The incompatibility is electrical, no amount of software changes can make it work.

Upvotes: 2

Related Questions