Pergunta

I am developing a system for live/real time vehicle tracking. My system has two parts. A web part and an Android application part. The Android application just sends the latitude and longitude coordinates with a specific vehicle name successfully to a server.

In the web part I was able to draw a polyline using the values from database, but i can not show the latest/updated position of my vehicle. My system requires a reload/refresh of the page to get the latest values from the database.

I want to do that without refreshing. It should be updated automatically in the browser.

I am using php, mySQL and javascript till now. I do not want to use ajax.

Foi útil?

Solução

For these type of application (Nodejs + Socket listener) is a best combination ,bcoz for this your server will receive a concurrent requests which will require a small computation.

https://stackoverflow.com/a/18664857/2557900

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top