Tracking your GPS-enabled Mobile Phone

Johannes Kebeck's Blog
03-26-2008, 03:00 PM
<h4>Introduction</h4> <p>Tracking applications are increasingly popular. People appear to track everything: their vehicles, their employees, their children and even their pets. There are plenty of such applications which use Virtual Earth. Most of these applications are not publicly accessible but there are also some which everybody can access over the web such as <a href="http://www.ifly.com/track-new-flight">iFly.com's Flight Tracker</a>... <p><a href="http://blufiles.storage.msn.com/y1pLfDzppuxasjYKV2adBiutoeJMl_qLEHqT_cEDL1Wa185W7i yu8XN9Kdg1-kz4MnRhQZ1yIeT8Rc?PARTNER=WRITER"><img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px" height=453 alt=image src="http://blufiles.storage.msn.com/y1pLfDzppuxasjhS4ww2_2jeIszJfdCVQYJcnW-kpzdjAoxfouc_YuHaOSAF7m1VXkCN9ONEOI4Q1k?PARTNER=WR ITER" width=404 border=0></a> <p>...or <a href="http://orca.bcferries.com:8080/cc/conditions/maps.asp">BCFerries</a> <p><a href="http://blufiles.storage.msn.com/y1pLfDzppuxasgHM9Re7dHCWjJH7RK6JdpzJhF-bLdr0w_3cZxUGsos6k6sbsYMySQWhvUR7ncyV44?PARTNER=WR ITER"><img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px" height=530 alt=image src="http://blufiles.storage.msn.com/y1pLfDzppuxashJmOhnx4wohJMFro0lYcCk-9uA5AlCioxs0ax9sJXBq_YPwM0Hv_ocnu6SQEWy4qQ?PARTNER =WRITER" width=404 border=0></a> <p>We also find more and more GPS-enabled devices and there is an increasing trend of using these devices to track not just vehicles but also outdoor activities, expeditions or bicycle-races or to map your own position, so that your friends and family know where you are. Particularly with more and more social networks popping up there will certainly be many more use cases. <p>The following sample is addressing these kind of scenarios and I will demonstrate how you can relatively easy create a basic tracking application. Please keep in mind, that this sample is just meant to be demo. It is not secure and there is plenty of room for improvement but it shows the basic principle.

<h4>The Idea</h4> <p>On the mobile device, we want to capture the location via GPS and either display the results, store them in a local SQL Server Compact Edition or send them to a remote SQL Server. For the latter we will create a HTTP request to a web service or Generic Web Handler which creates and executes an INSERT-Statement on behalf of the mobile device. This is just for simplicity of this sample. In a real-live application you would probably want to set up something like remote SQL via the 'SQL Server Web Synchronisation Agent' or an IP-channel communication. <p>The web application to display the track is in our sample a HTML-Document with some JavaScript-code to display the map and create an AJAX-call to a web service which retrieves and updates the data from our database in a pre-defined interval. <p><a href="http://eayyzw.blu.livefilestore.com/y1psLOdC392ako8ku-HDH0khRfoV9T8vIePF62cCst1z68kfLTfhIt7Tq1gC4QMnIOji DJyRN9UaUMAunU6vEKFEQ?PARTNER=WRITER">

http://eayyzw.blu.livefilestore.com/y1psLOdC392akp466j5vwTKR5KcO2kW54GN-4ZnQ3T3cMDrZ6yTYWuHdqKKPtD9RoXgq1rl7jo_tQNZyrbeloO LZw?PARTNER=WRITER</a> <h4>What we need</h4>

Article Continues... Click here to view the full article. (http://JohannesKebeck.spaces.live.com/Blog/cns!42E1F70205EC8A96!3749.entry)

<p>
<div style="padding-right:0px;display:inline;padding-left:0px;padding-bottom:0px;margin:0px;padding-top:0px">Technorati Tags: <a href="http://technorati.com/tags/Virtual Earth" rel=tag>Virtual Earth</a>,<a href="http://technorati.com/tags/Tracking" rel=tag>Tracking</a>,<a href="http://technorati.com/tags/GPS" rel=tag>GPS</a>,<a href="http://technorati.com/tags/Windows Mobile" rel=tag>Windows Mobile</a></div><img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=4819404664324524694&page=RSS%3a+Tracking+your+GPS-enabled+Mobile+Phone&referrer=" width="1px" height="1px" border="0" alt=""><img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&NA=1149&PI=73329&RF=&DI=3919&PS=85545&TP=johanneskebeck.spaces.live.com&GT1=JohannesKebeck">

Click here to view the article. (http://JohannesKebeck.spaces.live.com/Blog/cns!42E1F70205EC8A96!3749.entry)

 
Web mp2kmag.com
mapforums.com