Android Question shares images and data between two devices

Roberto P.

Well-Known Member
Licensed User
Longtime User
you can recommend me a way to make the images and data read from a device with another device or applications exchange in real time.
in other words I have a device that displays the camera and sends what it sees to another device, or I read a bar code and I have to send the data to the device.

as if the first device acts as a server and the second device acts as a client. all through data exchange with WIFI.

thank in advance
regards
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
This is an example. You need to understand how it works and you will be able to modify it as needed.

Can it be viewed only with browsers or can I do other ways?
[B4X] [class] MJPEG decoder

with the same connection can I also transmit data or should I open a new port?
Technically it is possible to send data together with the images however if you are basing your solution on the MJPEG example then it will be simpler to open a new port.

Tip: MQTT is probably a better solution.
 
Upvote 0
Top