I
I
Ilya Petrov2021-12-03 20:31:50
Android
Ilya Petrov, 2021-12-03 20:31:50

How do programs that turn mobile Android/ios devices into a second PC monitor work?

How exactly do programs like iDispey, duet make the computer think that a device connected via usb (Android, ios) is a monitor? And how is the picture displayed on this USB device?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vasily Bannikov, 2021-12-03
@vabka

They work very "simple" - a special display driver is installed in Windows, which, instead of transferring the picture to the video adapter in a real monitor, uses some of its own protocol to transfer the picture via wifi or usb.
On the side of the application on the smartphone, the reverse process occurs - the transmitted data is read and displayed on the screen of the device.
There are several implementation options for each stage.

A
Anton Shamanov, 2021-12-06
@SilenceOfWinter

we.easyelectronics.ru/electro-and-pc/interfeys-usb...

A
Alexey Ukolov, 2015-05-20
@xoma2

No, it seems to work - jsfiddle.net/gtqtkj19 It
's crooked , of course, as I showed in the example, but it depends on the url.

S
sergski, 2015-05-20
@sergski

var goodId = "http://foo.bar/17/18",
    reg = /(\d).+/;

var str = reg.exec(goodId);
    str = str[0].split('/');
    
    console.log( str );
    console.log( +str[0] );

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question