[Q] Using android as a HID device - Android Software Development

I'm currently writing an app that requires my phone to be detected by another device as a HID keyboard via bluetooth. I'm finding ALOT of info on connecting HID devices to the phone, but I'm trying to do the opposite. Connect my phone as a HID device to something else, for example, use my phone's keyboard on another device which doesn't have it's own keyboard.
An example of this would be bluemaemo: http://www.valeriovalerio.org/?page_id=174
That's only for select nokia phone's though. Is there anything like this or is it possible to implement this functionality somehow?
Also I'm using the Galaxy S I9000, just in case that has different limitations that stock android builds.
I'm still sort of new to developing so excuse my ignorance.

Related

Use xda as Usb Keyboard, Possible?

Hi, did a few searches about this but couldnt find anything.
Is it possible to make the device(in my case, the Hermes) act as a keyboard for another device?
The thing is, i have a Xbox 360, and today they released a update which among other things contained msn/live messenger integration.
and to make it easier to use this, Microsoft are launching a keyboard, which you plug in the controller ,blablabla.
But they havent released it yet, so, i was thinking of using the kard-Keyboard on my device as a USB keyboard for it.
any comments?
Never heard of anyone doing an app like this.
It is possible theoretically but someone would have to write a special program that would kill AS, then take over the USB port and identify as a keyboard.
Doubt any one will bother with this since there are plenty of real USB keyboards available at any computer store (small ones too)
the tricky part would be that the program would have to change what kinda usb device the pda would say it was
sounds like some lowlvl hacks would be required
As far as I know this isn't so hard. For example WM5torage does similiar thing by emulating Mass Storage Device. Personally, I would be interested in the bluetooth keybord emulation.
This is technically possible, but somebody will have to write USB function driver for HID device class for that.
For bluetooth - dont sure, if stack will allow extension.
how hard would that be?

[Q] android phone as a bluetooth HID

Hello guys,
I want to write an app that registers my android phone as a HID through bluetooth to my PC. I have found many descriptions how I can connect a bluetooth keyboard or mouse to an android phone but no working solution doing generally the opposite.
The most helpful so far was groups.google.com/group/android-developers/browse_thread/thread/73f03a22963b356d, but as you can see there also isn't any solution provided.
So is it currently even possible doing this with android? Could there be a way using the underlying BlueZ with the NDK?
Any hints and help would be much appreciated.
I'm currently working on something related, which is connecting an android phone to a PS3.
You can look in /system/etc/bluetooth, notably the main.conf file, in which you'll find a Device class definition. I yet have to try to change it, to see if it changes the way the device is recognized by others
Hope this will help.

[Q] using the s2 as a device emulator

Hello
i would like to know whether it is possible or if the following has already been done:
using the device as a generic keyboard and/or mouse for windows using the data cable.
i do not want a wireless solution.
what i want happening is the following:
soon as you plug the data cable the pc picks it up as either generic mouse and/or keyboard. (ie: no drivers req)
if it has been done already could point me to it?
thanks
It has been done numerous time through WiFi/3G/Bluetooth, you can do it the other way too (PC controlling Android).
But there's no way to control PC from your phone via cable. Or go through Kernel modules stuff.

Using a phone as input device

I know you are able to use it as mouse or keyboard replacement for a PC (I assume this covers Mac as well), but how about another Android device?
Here is the thing, I bought an Android-on-a-stick device. You plug it into your TV's HDMI port and have ICS on the screen. Off course, this device doesn't come with any input options, but relies on USB, BT or WiFi for input. Since I have a HTC Desire that I no longer use except as music player, I thought it would be nice if I could incorporate something like GRemote but for another Android device, I suppose primary setup has to through USB, but after that it would be so much easier to use the screen of the Desire. Has anyone accomplished something like this, or are someone working on it and in need of Beta testers?

[Q] Nexus 7 to be used as an input device paired to an Android Set top Box

Does anyone know if its possible to say pair a nexus 7 to a JynxBox or PIVOS XIOS DS as an android to android input?
The reason I ask is that JynxBox and the PIVOS do not come with physical keyboards and I would have to add a USB keyboard to have any sort of typing going on.
In general is it possible to use one android device to act as a keyboard for a 2nd android device?
Thanks.
AW: [Q] Nexus 7 to be used as an input device paired to an Android Set top Box
It's not possible without major tinkering. I tried it a few months ago with my old HTC Hero. I built a CM7 kernel and then tried to activate the HID gadget driver, but that disabled the Android gadget driver. So I gave up. But it sure would be nice to have.
Do these devices have network connectivity? If yes, there might be solutions.

Categories

Resources