Tag Archives: geolocation

Geolocation support in add-ons

Today, I checked-in a set of changes that will allow mozilla addons the ability to acquire the location information. It is pretty simple to do: geolocation = Cc["@mozilla.org/geolocation;1"] .getService(Ci.nsIDOMGeoGeolocation); geolocation.watchPosition(successCallback); In this trivial example, the [...]
Posted in mozilla | Also tagged , | 5 Comments

Location Privacy

A month ago, I was at the MetaPlaces conferences on a panel on Privacy. Dev, the moderator, asked a really interesting question: “what are you most scared about”. It is a very interesting question. Sitting next to me was the head lawyer of the CDT, someone who has giving me tons of [...]
Posted in General | Also tagged | Leave a comment

CoreLocation in 10.6

I took a really quick look at the built-in location services on Mac 10.6.  I wanted to determine what sort of accuracy the feature had out-of-the-box, and what the API looked like. The code is pretty simple.  Just something like: CLLocationManager* locationManager = [[CLLocationManager alloc] init]; locationManager.delegate                = self; locationManager.desiredAccuracy = kCLLocationAccuracyBest; [locationManager startUpdatingLocation]; The delagate is just two functions: - (void)locationManager: [...]
Posted in General, mozilla | Also tagged , , | 3 Comments

Using CoreWLAN on MacOS 10.5

When Apple’s OS X version 10.6 shipped, they broke compatibility will all 3rd party geolocation applications.  This wasn’t entirely unexpected as we all were using a private framework which wasn’t documented.  So, Firefox 3.5 and Gears, and probably Skyhook, are busted right now on OS X 10.6. Apple has provided, with limited documentation, a new public [...]
Posted in mozilla | Also tagged , , | 5 Comments