Open Source GPS Tracking System.
It allows to use mobile phones with J2ME support as mobile trackers and to show tracks on Google Maps online.
For tracking you may use phones with internal GPS as well as with external Bluetooth device.
Also some models of phones may use cell information for defining location through www.OpenCellID.org and www.CellDB.org open databases.
There is a web RESTful API for GPS data input.