Wednesday, April 8, 2009
CakePHP : Tracking GPS live last known position
left: MySQL lat/lon data
right top : CakeSMS SMS listening server
right bottom : CakePHP Shell Daemon
The result page
The idea is, you can track the tracker on the web browser without hitting the refresh button every 5 secons or use the meta refresh tag. Just open the Google Map then sit and relax. The marker automatically updated to new location using Ajax every seconds.
Nokia E71 will send the current GPS location every 30 seconds to listening server with Sony Ericsson W980 acts as GSM Modem. The received SMS then processed by CakePHP Shell Daemon which process the GPS location into the MySQL Database.
Then, using AJAX, the browser will call the last known location every second and mark in on the Google Map.
Demo URL : http://map.jobber.my/locations/data
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment