# I am trying to create an android app to allow smartphone to act as a hid keyboard in kotlin

**URL:** <https://forum.devtalk.com/t/i-am-trying-to-create-an-android-app-to-allow-smartphone-to-act-as-a-hid-keyboard-in-kotlin/158757>\
**Category:** Android Questions/Help\
**Tags:** usb, android, java, hid, kotlin\
**Created:** [12 June 2024 15:27 UTC](https://forum.devtalk.com/t/i-am-trying-to-create-an-android-app-to-allow-smartphone-to-act-as-a-hid-keyboard-in-kotlin/158757 "2024-06-12T15:27:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vsiPr](https://forum.devtalk.com/user_avatar/forum.devtalk.com/vsipr/32/6141_2.png) [@vsiPr](https://forum.devtalk.com/u/vsiPr)\
**Post date:** [12 June 2024 15:27 UTC](https://forum.devtalk.com/t/i-am-trying-to-create-an-android-app-to-allow-smartphone-to-act-as-a-hid-keyboard-in-kotlin/158757/1 "2024-06-12T15:27:30Z")

</div>

I am trying to develop an app which will make your smartphone act as a “keyboard”. I need it to send different symbols to another devices via usb, acting like an hid keyboard. I am trying to make it work without rooting the phone. I’m using kotlin and java to do this. Does anyone have information on this topic? I tried looking for answers on this repo: [GitHub - Arian04/android-hid-client: Android app that allows you to use your phone as a keyboard and mouse WITHOUT any software on the other end (Requires root)](https://github.com/Arian04/android-hid-client?tab=readme-ov-file) But it seems that the author uses rooting and i don’t think that it’s a way for me. Also i need it to connect to devices via usb without manual settings. Also i seen this thread: [keyboard - Can android Emulate a HID device? - Stack Overflow](https://stackoverflow.com/questions/3760600/can-android-emulate-a-hid-device) But they are talking about bluetooth connection and nothing about usb. I just don’t know how to approach it and wonder if anybody has some fresh ideas.  
GitHub
