Quick Websocket communication in Android -


i'm trying make application android such can control computer mouse moving on phone screen. means needs quick , responsive.

so far have websocket server written listens movement, works great when using laptop's browser websocket client. however, i've tried several websocket clients android, they're slow , unresponsive.

is possible create websocket connection android can deliver real time communication? how? if not, alternative solutions?

thanks!

what looking fastest streamed data, chance of missing packets - not mandatory have persistent state.

so in case udp transport protocol best choice. offers speed in price of reliability on data delivery. might have messages dropped, ones delivered there relatively fast (most delivered).

as need implement extrapolation, in order predict mouse movements if want have feeling of being "in same time" on both sides.

although, clicking - should delivered reliably, specific location of click. way clicks can simulated.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -