sockets - Real Time Tracking in Android App -


how app uber real time tracking of cabs? let me put across in detail:-

  1. cabs position server.
  2. server communicates positionto user app trying book cab.

i have gone through many blogs, after think of solution below solve 2 issues:

  1. cabs communicate there lat/long server after time gap using http request.
  2. the user app establish socket server , change in server communicated user app through socket.

is there better way it? please give insight issue.

i think each cab fitted gps tracker(could mobile based app not sure) track , send real time data, once location data changes tcp connection established used communicate.


Comments

Popular posts from this blog

amazon web services - S3 and apache mod_proxy with basic authentication -

How to install ruby on rails -

powershell - This solution contains one or more assemblies targeted for the global assembly cache -