Dear Friends,
I am working with an android app which uses Hid keyboard. I was not able to find any support in API 17, i tried to use USB Host and USB accessory but my nexus tab doesnt recognize it in my app. When i connect usb device the android app detects it using USB Host. Although the device detects it as a keyboadrd. My problem is i have to take input from the Hid keyboard and it will be used for authentication purpose in my app. What seems to be the problem. Please help me with this.
Thanks.
Related
Have anyone tried to find a mouse that will work on the mini usb port ?
Cheers Kim
First we need to confirm if the Universal supports hosting functionality! And then find a mouse which works
San
Does it need to be a host ?, I thought you could get away with a less suport to drive a mouse..
I have tried a desktop extender app, wich used the universal screen as 2. monitor, would assume that is more complicated than drivibg a mouse.
I have a friend whom tried a Bluetooth mouse and keyboard which works well on PPC.
RE
Stowaway bt mouse and keyboard work well with the Universal
Soft said:
Does it need to be a host ?, I thought you could get away with a less suport to drive a mouse..
I have tried a desktop extender app, wich used the universal screen as 2. monitor, would assume that is more complicated than drivibg a mouse.
Click to expand...
Click to collapse
With that application, the Universal was a client, and the computer was Host..
With a Universal and a USB mouse, you have to clients and no host..
The Universal will be waiting for the mouse to give commands and vice versa..
No drivers in the world can emulate USB host functionality, when the CHIPSET don't support it.
(Actually, the chipset TYPE supports it, but there are some wires that are not connected in the Universal..)
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.
Hi, I was wondering if anyone else had this problem...
I'm developing an application that controls custom hardware over USB. I've been testing on a Xoom where it works fine, but I recently bought a Galaxy 10.1 to test compatibility. The application runs fine but when I connect my custom USB device to the tablet it says "Unknown USB Device connected"
Other USB devices work fine such as mice and USB flash drives on the Galaxy, so I believe there's nothing wrong with my adapter.
Application details:
My application has a USB_DEVICE_ATTACHED intent filter with my device's device/product id specified in the corresponding device_filter.xml file. When I plug my device into the Xoom, I get the expected prompt asking if I would like to launch my app. On the Galaxy I get no such prompt, it just says unknown USB device.
Any ideas? Thanks in advance.
Hi,
I was hoping I could post on the developer sub forum, but I have too little post, so I hope some of the devs can help me out.
I have in my possession a USB OTG cable, and I am able to connect it to a usb -> serial port, and send/receive data to and from a PC's hyperterminal. I am also able to send/receive data to and from one of my custom boards (something like arduino) that has a serial interface.
I've written my own program to perform this communication, but it is largely based on
- Slick USB 2 Serial
- USB Serial Monitor Lite
from the playstore.
Now, I am able to perform the above with my Samsung Galaxy S3, however, when I tried running my program, or anyone of the above programs (from the playstore) on one of the china branded tablets, which claimed to have USB host mode, it didn't work.
The tablet that I bought is ICOU7.
Now, I am desperately trying to get my program to run on a tablet, but I do not want to buy a tablet, and waste my money (which I already have with that china tablet) if it doesn't work, so can any of the devs out there, with a Nexus 7, confirm that the Nexus 7 is able to perform serial communication with PC/board through an OTG cable?
Do I need a specific OTG cable to do so?
I can't say for certain that it supports serial connections but it does have host mode. I've used keyboards/mice & flash drives without problem
Sent from my HTC One X using xda app-developers app
Depends on what you mean by "serial" device. If you mean CDC/ACM class usb device, then yes, nexus 7 can handle those, it creates /dev/ttyACMX like on desktop linux. This is only accessible if you have root, though. But, ACM devices are also supported by android USB Host API, which means you can write android app, which communicates with such device, and it does not require root.
Tasssadar said:
Depends on what you mean by "serial" device. If you mean CDC/ACM class usb device, then yes, nexus 7 can handle those, it creates /dev/ttyACMX like on desktop linux. This is only accessible if you have root, though. But, ACM devices are also supported by android USB Host API, which means you can write android app, which communicates with such device, and it does not require root.
Click to expand...
Click to collapse
How about for starters, I just wanna communicate with a PC's hyper terminal through its comport? Will Nexus 7 be able to do that?
bagofcrap24 said:
I can't say for certain that it supports serial connections but it does have host mode. I've used keyboards/mice & flash drives without problem
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
The china tablet I had was able to support mouse/keyboard too. But it was unable to establish a link to my PC's hyper terminal, which I was able to do with my unrooted Samsung S3
Hi guys,
as the M.O.J.O. obviously lacks USB debugging, I was wondering if some of you where able to deploy/debug apps using NVidias Tegra plugin for Visual Studio.
Sadly the plugin seems to be using a internal adb instance, which you don't have access to. Apparently the internal adb instance only scans for USB devices and AFAIK there is currently no way to tell it to connect to a specific ip address
So either there has to be a way to tell the Tegra plugin to connect to tcp/ip devices OR to get somehow USB debugging working on the M.O.J.O using a USB A Male to A Male cable.
Help is highly appreciated.
Hi!
Have you tried ADB via WLAN?
Code:
adb connect xxx.xxx.xxx.xxx