sockets - Real Time Tracking in Android App -
how app uber real time tracking of cabs? let me put across in detail:-
- cabs position server.
- server communicates positionto user app trying book cab.
i have gone through many blogs, after think of solution below solve 2 issues:
- cabs communicate there lat/long server after time gap using http request.
- 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
Post a Comment