Aug 03

Last week Google released a version of Latitude for the iPhone. Unfortunately it’s a web page that you have to visit every time you want to update your location.

In my opinion, it would be nicer to have my iPhone automatically update my location in the background without having to visit google.com/latitude every time I want to let my friends know that I’ve moved.

So this weekend I wrote a script that does just that.

I call it playnice. Run it in cron to keep Latitude apprised of your iPhone’s location.

It works by scraping the iPhone location from MobileMe’s Find My iPhone feature, using the code from Tyler Hall’s sosumi project. When you enable Find My iPhone, your iPhone will regularly send its location to MobileMe.

Google doesn’t provide an API to update Latitude yet, so there is some scraping involved on that end too.  Thanks to Jack Catchpoole for his help with the Google scraping.

Of course, you need a MobileMe subscription for this to work.

With all the scraping, playnice could be fragile and subject to any minor changes Google and Apple might make.

It would be nice if Google and Apple would offer APIs for these services in the future.

But at least for now, it works.

[via Nat]

VN:F [1.8.2_1042]
Rating: 3.0/10 (1 vote cast)
VN:F [1.8.2_1042]
Rating: 0 (from 0 votes)
Tagged with:
Jul 16

At Google, we want to make searching the world around you as easy and informative as searching the web. That’s why we’re introducing Search with My Location for iPhone 3.0. Now if I want to know which jazz clubs are near me, I don’t have to specify a location – I just search for “jazz clubs”.

As always, your privacy is one of our top concerns. Google won’t use your location in search unless you explicitly opt in. And you can always disable the feature from Preferences at the bottom of the homepage.

As always, your privacy is one of our top concerns. Google won’t use your location in search unless you explicitly opt in. And you can always disable the feature from Preferences at the bottom of the homepage.

Search with My Location from Safari is available in English in the US and UK. Look for other country and language combinations soon. You can also search with My Location using Google Mobile App, available from the iPhone App Store.

Google Search - Location

Google Search - Location

VN:F [1.8.2_1042]
Rating: 0.0/10 (0 votes cast)
VN:F [1.8.2_1042]
Rating: 0 (from 0 votes)
Tagged with:
preload preload preload