shalom avi! you can gave the smart phones update their positions and send this data to the database on your server. and you will have a client set up on your local machine that will get the data from the server and create a KML file. here's an example of a KML file. please note that u will use google earth to open this file.
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Document>
<name>New Addresses</name>
<Style id="a">
<IconStyle>
<Icon>
<href>http://maps.google.com/mapfiles/ms/icons/green-dot.png</href>
</Icon>
</IconStyle>
</Style>
<Folder><name>Sales Reps</name> <Placemark>
<name>Bret</name>
<styleUrl>#a</styleUrl> <Point>
<coordinates>-75.841866, 39.823108,0</coordinates>
</Point>
<description><![CDATA[215 Larchmont Lane West Grove, PA 19390</br>West Grove, PA 19390</br></br>Code: , Sales Reps</br>]]></description>
</Placemark>
<Placemark>
<name>Brian</name>
<styleUrl>#a</styleUrl> <Point>
<coordinates>-83.923687, 36.049932,0</coordinates>
</Point>
<description><![CDATA[2300 Woodrow Drive Knoxville, TN 37918</br>Knoxville, TN 37918</br></br>Code: , Sales Reps</br>]]></description>
</Placemark>
<Placemark>
<name>Ryan</name>
<styleUrl>#a</styleUrl> <Point>
<coordinates>-119.758448, 36.859115,0</coordinates>
</Point>
<description><![CDATA[407 E. Niles Fresno, CA 93720</br>Fresno, CA 93720</br></br>Code: , Sales Reps</br>]]></description>
</Placemark>
<Placemark>
<name>Malena</name>
<styleUrl>#a</styleUrl> <Point>
<coordinates>-92.036204, 30.170481,0</coordinates>
</Point>
<description><![CDATA[201 Settlers Trace Blvd #3411 Lafayette, LA 70508</br>Lafayette, LA 70508</br></br>Code: , Sales Reps</br>]]></description>
</Placemark>
<Placemark>
<name>Beth</name>
<styleUrl>#a</styleUrl> <Point>
<coordinates>-81.516432, 30.287809,0</coordinates>
</Point>
<description><![CDATA[13035 Fringetree Drive East Jacksonville, FL 32246</br>Jacksonville, FL 32246</br></br>Code: , Sales Reps</br>]]></description>
</Placemark>
</Folder>
</Document>
</kml>
when you start building your application you will have lots of questions. please come here and ask them.