Question How can I connect mouse and PC to phone at the same time?

Jun 10, 2021
3
0
10
0
Hello, I am an automation tester and I need a special connection between smartphone, device, and mouse.

Could I connect a mouse to the phone, meanwhile controlling the phone from a PC from Android Studio via USB? I need to handle this scenario to make tests faster.



Thank you a lot.

~ CreativeCBR
 

hang-the-9

Titan
Moderator
Try it, but a USB hub should be able to do this. Depends on the phone probably. I can use a keyboard and mouse on my USB C phone when it's connected to a laptop dock. Same keyboard and mouse on the dock that my laptop uses works on the phone as well, although the phone does not send any video to the monitor through it.
 
Jun 10, 2021
3
0
10
0
I tried with few hubs, none of them didn't work.. :( I connected the hub to PC, and Phone and mouse to the hub and I had a signal from the phone and mouse on the PC, then I reversed the connection, when I connected hub to phone, and then pc and mouse to hub caused working mouse on phone, but the PC didn't see the phone.
 

hang-the-9

Titan
Moderator
I tried with few hubs, none of them didn't work.. :( I connected the hub to PC, and Phone and mouse to the hub and I had a signal from the phone and mouse on the PC, then I reversed the connection, when I connected hub to phone, and then pc and mouse to hub caused working mouse on phone, but the PC didn't see the phone.
Try a bluetooth mouse to the phone. I have never tried it, but bluetooth should be pretty standard on the phone vs a computer.
 
Jun 10, 2021
3
0
10
0
Thanks hang-the-9 for a response, but it must be connected via USB. The phone has to be connected to the mouse and PC via USB at that same moment, but using of the USB port will be alternate. A little bit confusing.

Has anyone any idea how should it work?
 
Thread starter Similar threads Forum Replies Date
lendoIsAlreadyInUse Android Smartphones 0
F Android Smartphones 0
Pronto Mahmud Akash Android Smartphones 0
G Android Smartphones 1
Merciah Android Smartphones 0
tracylynnq Android Smartphones 0
D Android Smartphones 1
S Android Smartphones 0
P Android Smartphones 6
B Android Smartphones 0
T Android Smartphones 1
Josiah957 Android Smartphones 0
cutara Android Smartphones 0
natiya Android Smartphones 0
natiya Android Smartphones 0
Pure karma Android Smartphones 1
M Android Smartphones 9
I Android Smartphones 1
R Android Smartphones 1
P Android Smartphones 1
Similar threads
Question Most internet dependent apps dont work, Browser shows weird symbols when searching anything.
Question Manual wifi login needed everytime when connection lost, how to auto connect above 9
Question I factory reset my phone and now my Wi-Fi is connected but don't get full line, it's get 1 or 2 line of wifi
Question Immediate "failed to conect to network" error when attempting to connect to ANY wifi network. Can't tell if hardware or software issue.
Question Tethering/hotspot stopped working after phone died while acting as hotspot. Help Needed.
Question LG Phoenix 5 NO INTERNET CONNECTION
Question I hard reset ZTE Z557BL and it won't connect to wifi, why not?
Question My LG phoenix 5 shows connected to wifi and say no internet. I have done a hard reset of the phone. What's going on?
Question USB connection not supported Samsung A71
Question Phone won’t connect to wifi after rebooting router
Question Samsung A7 cant complete factory reset because it cant connect to wifi
Solved! Mobile Hotspot connects to internet but says no internet connection
Question sir i need help!!!!with my a3s phone i already format my phone but the problem i cant connect to a network even my sim card dont have network.
Question is it possible to enable WPS to connect to a WiFi using ADB commands?
Question how to connect and disconnect from WiFi using ADB (not a root user)?
Question Mobile hotspot won't connect to ps4
Question Bluetooth connection keeps dropping out when audio isn't playing
Question The mobile phone can't connect to the internet with this particular sim card, but this sim card working fine on another mobile phone.
Question LG G7 One: can I connect to my TV sans wifi?
Vivo y69 cant connect to wireless keyboard & mouse

ASK THE COMMUNITY