USB Detect - Very Confused - Networking

Hi, I've been reading, re-reading and reading the Android SDK docs about USB connection.
I have developed and application which is quite useful however, after many days and hours of research I cannot for the life of me figure out how to detect:
When my handheld device is attached to any device (macbook, PC, laptop)
Communicate between connected device and handheld using USB
Detect keystrokes on connected device - when I type on the, for example, laptop which my handheld is connected to using USB I'd like to detect when I type on my laptop
Detect any other events such as opening of a browser, application or whatever on connected device using USB
I don't know the vendor information of device what the handheld will be connected to using a USB cable.
Can anyone point me in the right direction, I'm not asking for a solution more a tips, hints and maybe someone knows a library which already handles what I need to solve?
Many thanks in advance.

Detect Connected Laptop/Desktop Events USB
*edit* What I need is a way to find detect keyboard strokes from the device connected to my Android smartphone.
Is it possible to detect whether the handheld is connected to a desktop/laptop and using USB detect the events on the laptop/desktop?
It's looking impossible at the moment. I have spent quite a few days just figuring it out and have got no where.
Thanks in advance.
chronograff said:
Hi, I've been reading, re-reading and reading the Android SDK docs about USB connection.
I have developed and application which is quite useful however, after many days and hours of research I cannot for the life of me figure out how to detect:
When my handheld device is attached to any device (macbook, PC, laptop)
Communicate between connected device and handheld using USB
Detect keystrokes on connected device - when I type on the, for example, laptop which my handheld is connected to using USB I'd like to detect when I type on my laptop
Detect any other events such as opening of a browser, application or whatever on connected device using USB
I don't know the vendor information of device what the handheld will be connected to using a USB cable.
Can anyone point me in the right direction, I'm not asking for a solution more a tips, hints and maybe someone knows a library which already handles what I need to solve?
Many thanks in advance.
Click to expand...
Click to collapse

Related

PC GPS receiver on Wizard...possible?

I've been given an older gps receiver that connects to a pc via usb. The driver used in that instance is a usb to serial driver and ends up connecting to one of the COM ports. I was wondering if it may be possible to connect the receiver to my Wizard. I've got an adapter that will enable me to at least plug the receiver into my phone, but I'm not really sure how to get the phone to recognize the receiver.
Does anyone know of an app that will allow me to use the mini usb port as a serial port in any way. I know this may be a long shot, but wanted to try. I can try to write something myself in C# if need be to intercept the messages, but I don't really know how to receive those messages through a COM port on the phone. Thanks!!!
By the way, I'm using an unlocked 8125, running WM6 Most Beautiful.
The problem is actually the Wizard doesn't have a USB Host so the RS232 to USB adapter you might be thinking of won't work here. As for getting it to work with the PC, perhaps if the PC is providing the GPS as a service?
I see. I've got it working on the PC, but could probably write something to get it to the phone, but might be a little pointless if I'm already connected to a laptop.
So, it looks like the only way to connect a peripheral to the Wizard is through Bluetooth. Think that is a fair assessment?
DuceEnd said:
I see. I've got it working on the PC, but could probably write something to get it to the phone, but might be a little pointless if I'm already connected to a laptop.
So, it looks like the only way to connect a peripheral to the Wizard is through Bluetooth. Think that is a fair assessment?
Click to expand...
Click to collapse
Yup. There are a few threads about that also.
--M

USB-HOST?

I came across this the other day
http://htc-vogue-100.handster.com/software.php?id=3339&for=HTC+Vogue+100
It uses the vogue's USB-Host??? Does the vogue have USB-Host driver???
I'm only asking because i'm interested in using Zeno USB host drivers http://forum.xda-developers.com/showthread.php?t=480899, but the device requires to have usb-host.
thoughts?
thanks.
I'm not sure what your intentions are, but if it's just for use at home, use MyMobiler. It's free and allows you to control your device throught your PC.

Remote Sound connectivity to my Android

Hi guys
I have a small issue with my remote connectivity to my android, I hope you guys can help with, the scenario is simple and my target is to connect to my android remotely through my laptop while the android is connected to my PC in the other room through USB cable, so what I have done already is that am connecting the Android to the PC through a USB cable and the PC to the Laptop through the LAN, now am connecting Remote desktop from my laptop to the PC and on the PC I installed application that can connect to the android so I can totally see the skin of my android and control it, but the final thing I wish to do is to make a phone call, here I connect a Bluetooth to the PC and I connect the Bluetooth as free handset to the android it didn't totally work,
So guys as you see its interesting scenario and if we work together we can accomplish something really assume
Really appreciate your help, Thanks
There are some computers that can act as a bluetooth "headphone", I'm one of the lucky ones.
Hang on while I search for my bluetooth drivers...
Bluetooth Radio by Qualcomm Atheros
Driver for my Asus N56: http://dlcdnet.asus.com/pub/ASUS/nb/DriversForWin8/Bluetooth/Bluetooth_Atheros_Win8_64_Z800206.zip
It appears that most of the Atheros bluetooth cards support this feature.
Thanks AmeesingNoob
But the thing is that I already got a Bluetooth USB connected to my PC working as a Hands free, so from the PC itself I can do Voice call through the PC speaker and headset but my trouble is that I can’t do this through the Remote laptop that is connected to this PC
So it would be like this:
Mobile Phone Sound > A2DP > Computer 1 > Computer 2
Click to expand...
Click to collapse
Am I right?
Exactly,
the first connection is between the mobile and the Computer 1 which it is a USB connection, and the second one is between Computer 1 and Computer 2 which it is a LAN / WAN connection.
Ah. Sounds like something I could use too.
I did some searches on Google and browsed some forums; found this.
PulseAudio is a sound server, a background process accepting sound input from one or more sources (processes or capture devices) and redirecting it to one or more sinks (sound cards, remote network PulseAudio servers, or other processes). -- Wikipedia
Click to expand...
Click to collapse
Please note that this software only runs partially (command line, no gui) on Windows. It was written for Linux computers.
mhhhh
I will try to download it and test it , then I will post my result in here
hope it will do the job,
Good luck!

'Network USB Server' support for Android

I recently purchased something that would turn all my USB Hard Drives into 'wireless'.
And it did. Indeed. It came with a Windows Driver which detects the device when connected via LAN/WLAN (through a router) and the Console lists all the USB Hard Drives and Device on Windows. I can choose to connect any of the devices anytime I need by hitting the 'Connect Button'.
Clarification: The 'networked' external hard drives are mounted as Local Disks on Windows (not as Network Drives)
The Manufacturer didn't respond to a request for creating an Android Driver for the device.
It was not possible to figureout the FTP path/url for individual drives.
I hoped it could be usable on Android devices as well. But, alas. It was not a pure NAT/Network Drive. Thus not detected by any file managers/network browsers. The hard drives are mounter on Windows only after hitting 'Connect' button. But, I could not manage to figure out how it could be achieved on android. FTP/Samba didn't work
Q. Am I permitted to name the product, post product screenshot, link manufacturer page?
Do I need to link the Windows Drivers?
Here is a screenshot:
http://i.cubeupload.com/boKp1q.png
I got the same problem with dlink router makes drive in windows i can use web browser to get to usb but i cant figure out hoes reason hey wont come over. I tried using lan and webdav i dont know what im doing
network managment
hiii......
i am new sign up and pleace tell me network management information.
thanks.

Please help me connect Asus z380m to Win 10 usb for adb / Tasker

EDIT - solved! I've never noticed that apparently some cheap micro usb cables will not work for adb data connections though they work with other devices such as external drives just fine. Grabbed a 3rd cable out of desperation and it hooked right up. What are the odds? Learn something new every day.
Either I'm being thick or this is just fubared - I have a non-rooted Asus z380m running Android 7.0 firmware ww_v5.3.20_20180809. I cannot for the life of me get it to connect to any of my pc's in order to enable write secure settings for something I'm trying with Tasker (turn gps off requires security?). I've Googled forever, tried every usb driver I can locate (including unsigned installs), ensured that Developer mode, USB debugging and USB config on device is set to MTP protocol. NOTHING seems to enable usb connection to pc. The only way I've been able to get files on & off device is through Asus file manager utility that provides web interface (which sucks).
I also tried a Win7 laptop with the "latest_usb_driver" package and no joy there either.
I'm not the most savvy Android guy around, but doing IT for many years I have more than the average clue. Except here apparently.
Any insights would be _greatly_ appreciated.
Click to expand...
Click to collapse

Categories

Resources