Posts tagged location

My Current Location

Update as of 17 June 2011 : I have changed my phone from Nokia E71 to iPhone 4 and I found a better way to display my location. In Nokia Symbian Phones, the Google maps app itself included a feature to auto update in the background, but the battery drain was considerably high . Also , whenever I reboot my phone, I forget to enable tracking after bootup. Now in iPhone 4 in addition to the google latitude app, you could use Apple’s implementation of find my iphone tracking service right from iOS. I found this really cool script sometime back called playnice (PHP script run as a cronjob). This script will manually initiate a “find my iphone” request which will fetch my iphone’s current location instantly and use the data to update my google latitude location. This way, the battery drain is negligible because there is no background app running on my phone tracking my location, instead … my server initiates a location update request at a frequency which I specify and this request reaches my iPhone more or less consuming data as much as a PUSH notification only . This way I am always getting tracked even if I reboot my phone and there is no need of any app to be running in the background. Also there is no location history in, but with playnice, my server maintains a complete geo co-ordinates history in a text file, which will help me better track my phone , in case it gets lost.

My location data is automatically fetched using Google Latitude Location API. The Google maps app on my phone broadcasts my location automatically and thus you can see my current location on this page

The iframe displayed below uses google location API to fetch the address of my current location. You should head on to this post to read a tutorial on adding this to your own blog.

The widget here shows all the locations I have visited in the last 1 week and can pull the data from both Google latitude and Foursquare servers. Pretty cool widget if you switch between foursquare and google latitude/maps on your phone very frequently.

Incoming search terms: