Is it possible to program Android to act as physical USB keyboard?

前端 未结 13 870
暖寄归人
暖寄归人 2020-12-04 07:00

What I really want to know is whether it is a hardware problem, or a software problem. Could I plug my android phone into a computer via USB and have it act as a hardware ke

相关标签:
13条回答
  • 2020-12-04 07:40

    I am bit late to comment in this question but it might be useful for some other people.

    You can make your android phone to work like keyboard, mouse, camera, sound streaming system, tethering device. In short what ever usb gadget you see in the market and until and unless hardware doesn't limit you. Such as speed, or gadget interface not available.

    USB device is of two type, host and gadget. So gadget device acts like client and usually has usb otg interface in most of the phones. So in gadget end, you can make your phone to behave like different device at all by switching between different configuration(you are already doing it when you go into usb settings and make your device as mass storage or anything else).

    But for doing all these you have to modify android kernel. If you are a android device developer you can for sure do it.

    0 讨论(0)
提交回复
热议问题