android - Synchronize timestamps across multiple devices -
i'm trying synchronize timestamps between multiple android devices can kick off task @ same time. figure can use timer , set date based on system.currenttimemillis(), problem seems timestamps of multiple devices far enough apart each other i'm not getting precision want.
i'm looking @ somewhere in range of 50-100 ms, if possible. 1 idea had use android beam send 1 device's timestamp other device , calculate delta, turns out have timestamp before message sent , received (i.e., longer user waits send, bigger delta be), makes scheme fall apart.
how can sync 2 or more devices internal clocks no more 100 ms apart each other? possible without using external server keeps time?
any other suggestions techniques across multiple devices close simultaneously possible welcome.
why not use gps time? time tags gps pretty accurate.
you agree on devices on time , start when gps tells to.
Comments
Post a Comment