Sync the start of execution in multiple Android devices
I would like to start executing a function at the same time in multiple Android devices and would like to know your opinion on what would be the best way to achieve this.
The best I could think开发者_JAVA百科 is over Bluetooth, with multiple sockets one for each device. Any suggestion is welcome.
Thanks in advance.
Isn't Bluetooth a P2P connection? I don't think you can connect to multiple devices at the same time. However, you can send a message via Bluetooth to each device (one by one), saying "execute at HH:MM:SS". Then each device can match the current time with the message time & execute the function. I am assuming that you can set the time on all the devices to the same.
HTH,
Akshay
精彩评论