views:

163

answers:

1

I was attempting to design an app that would allow me to have android emulate a hardware device.
I.E. a generic keyboard, a generic mouse.

I could essentially plug in my android (HTC) to a computer, and program it to use a software keyboard as the computers hardware keyboard.

I don't have any direction on how to accomplish this.

I only wish to connect USB(not bluetooth). So that the computer needs 0 installation before working. And most devices will work in Dos Mode.

A: 

Some quick searching points out a few examples of connecting a keyboard to an Android device, but I'm thinking that to make the Android device pretend its a USB HID (Human Interface Device) would require creating new firmware. Also there is no Android SDK API to control the USB.

Morrison Chang