简体   繁体   中英

Android phone as USB Keyboard/HID-Gadget/

I'm looking for a possibility to use Android Smartphones as a USB-Keyboard, same as I would be using Linux Gadget and a raspberry pi with OTG port. So I imagine it like this:

  1. Connect Android phone to some computer via standard USB.
  2. Start my App on the phone.
  3. Computer identifies the phone as a basic keyboard (no need to install drivers or the like)
  4. From my App I can send text to the computer so for the computer it seems that the text is typed by the keyboard.

Is there some possibility to build an App like this without modifying the Android Kernel or rooting the phone.

Thank you

看看这个: https : //play.google.com/store/apps/details?id=de.stryder_it.simdashboard使用应用程序的按钮框部分,你可以做任何事情。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM