Monday, April 27, 2009

MamakSpot.my new look

GPS Live Tracking using GPS

Extjs & Cakephp


The Movie add form. The drop down select value was retrieved from database via JSON


Basic grid using CakePHP & ExtJS.The data retrieved using JSON

2 days of learning Ext JS, slowly but result oriented.

Saturday, April 18, 2009

CakePHP Ext JS( pagination, add users )


Sample of adding user form


sample of datagrid with workable pagination

I follow the tutorial here -> http://www.ntatd.org/mark/?cat=13

Friday, April 17, 2009

GPS Tracker HTTP Update Field Test


The HTTP Update logger running on my E71


The result on GPS Tracker Portal

This morning I fired up my Nokia E71 GPS update via http using Celcom Prepaid 3G. Update interval is 5 seconds. There gone my hard earn money...lol

Thursday, April 16, 2009

Display 1000++ schools on Goole Map


Spent almost 1 day on this. Cleaning up MySQL DB etc etc

URL : http://map.cikgu.net.my/schools/data

Powered by
1. CakePHP 1.2
2. Javascript
3. MySQL
4. GMap EZ Framework

Tuesday, April 14, 2009

GPS Tagged Photo Viewer



demo : http://map.jobber.my/photos

My Nokia E71 camera have the GPS Stamp function. So when I snap a picture, GPS info will be stamped in the image's exif data. Uploading the image on the server is plain easy, but how to extract the GPS data in the image and store it into database ? The answer is to use PHP's built in exif parser.

-CakePHP 1.2
-phpThumb
-MySQL Database
-GMap Ez Google Map Reader
-Exifier

Python S60 HTTP file uploader

I did some research on the net on how to upload file from S60 Python to webserver

1. uploader 1

Monday, April 13, 2009

Update GPS using HTTP


Simple Python Uploader

The task pretty simple, user just select the menu on the phone and it will update the GPS every 60 seconds. On listening server, it will receive data from HTTP GET and plot it into MySQL database

Update via http and GPS Exif parser

Currently, I can update GPS data using SMS update and by uploading log file. The next phase, will be HTTP update using GET method.


------------------------8<------------------------------

S60 Python on my Nokia E71 will update via http get using the sample url.

update.php?type=http&lat=xxx&lng=xxx&alt=xxx&speed=xxx&heading=xxx&time=xxx

where xxx is the GIS value

-------------------------8<------------------------------

Image taken using my Nokia E71 have GPS data stamped, so my plan is, when I upload the image into http://map.jobber.my, the system can grab the GPS data and put it into the database and map it on Google Map

Sunday, April 12, 2009

Updated GPS Portal with new data


Upgraded the user interface on Nokia E71. The tracker now have 2 ltracking option, by SMS or log into text file


Sample of GPS data displayed on Nokia E71


The route used while logging to text file.


Sample of sms data being sent to listening server.


Sample of GPS log.

S60 Python GPS info


The python source code, pretty amateur


The result on my Nokia E71 phone.

So I'm back to python s60 programming. The task is pretty simple, get the GPS data and display it back.

My collection of books

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

Tuesday, April 7, 2009

Google Map : Update Marker using Ajax


The Javascript


Output in browser and sample XML data

Imagine you want to track in realtime without refreshing the whole page, this is the solution..ajax update the XML data.

Thursday, April 2, 2009

CakeSMS : Setting up Siemens C35i Modem





One of my client sent this GSM Modem to me, Siemens C35i USB. So I fired up my Linux Ubuntu and change the Gnokii settings.

Using dmesg, the modem connected at /dev/ttyUSB0

Some crucial settings on gnokiirc
speed = 115000
connection = serial
port = /dev/ttyusb0

Run the gnokii --identify to check the connection status