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

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) 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 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
Popular Android topics










Other popular topics








Latest in Android
Latest (all)
Categories:
My Saved Portals
-
None saved yet
Popular Portals
- /elixir
- /opensuse
- /rust
- /kotlin
- /ruby
- /erlang
- /python
- /clojure
- /react
- /quarkus
- /go
- /vapor
- /v
- /react-native
- /wasm
- /security
- /django
- /nodejs
- /centos
- /haskell
- /rails
- /fable
- /gleam
- /swift
- /js
- /deno
- /assemblyscript
- /tailwind
- /laravel
- /symfony
- /phoenix
- /crystal
- /typescript
- /debian
- /adonisjs
- /julia
- /arch-linux
- /svelte
- /spring
- /c-plus-plus
- /preact
- /flutter
- /actix
- /java
- /angular
- /ocaml
- /zig
- /kubuntu
- /scala
- /zotonic
- /vim
- /rocky
- /lisp
- /html
- /keyboards
- /vuejs
- /nim
- /emacs
- /nerves
- /elm