Android Question Multiple screen

microbox

Active Member
Licensed User
Longtime User
Hello everyone, just want to ask if it is feasible to create an app with B4A that will show a video or hello world message using 2 or more android phones but as one screen? If it is possible, can you give a link to help me start?

Thanks :)
 

JordiCP

Expert
Licensed User
Longtime User
I think (one never knows) it is not directly supported, but in theory it could be done. As an exercise, this is how I see it:


There would be two apps, or one only app which could work in two possible modes (master and slave).
Each device would have to be "position-aware" (by settings) in your multidisplay panel, and only display the corresponding part.
Devices are connected by Wifi. Master broadcasts.

First issue is content type
It could be more or less cumbersome depending on how dynamic the video content is ( an internally generated scrolling banner which only updates once a second? a video? )
Also, it would make a big difference if the content is known in advance by all the devices or not.
If the "slave" devices don't know the content in advance, the master must broadcast it, and each receiver will just display its corresponding part.
If the content is known in advance by all slaves, then each one would "play" its corresponding part, but no need to broadcast it.
Also, how to "display its corresponding part" will depend on the content: a still bitmap, a decoded stream?

Second issue is synchronization.
In both cases (master broadcasts content and content is known by all slaves) there has to be a synchronous "play". So, all devices need a common reference timing to play at the "same" time. The master would be in charge of that
I have absolutely no idea of how noticeable the delays would be o_O

But it sounds interesting :)
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
how i see it...

taking jordi's exemple, but using ble as comunication, one app would be set as Master and the rest as slaves with well defined positions... imagining a scrolling text or background, once the pixel that started in the right most of the screen reached the left most positions, a trigger message would be broadcasted to slave1... repeating the same logic, once the rightmost pixel reached the leftmost position the slaves would notify the master and the master would then trigger slave2 and so on
 
Upvote 0

microbox

Active Member
Licensed User
Longtime User
Thanks everyone(JordiCp, Cableguy and eps) for the time...I will try to do some searching and apply the steps based on the methods mentioned.
@Cableguy..it's a good idea to start with scrolling text :)

Kind regards.
 
Upvote 0
Top