. .
CREATE OR DIE Special Downloads Shop webinale

Schauplatz

News

25. August 2008

Google Gears mit Geolocation API

(Link zum Artikel: http://www.createordie.de/cod/news/044832)

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Google hat seinem Open Source Browser Plug-in Gears ein Update verpasst. Version 0.4 hat eine Geolocation API erhalten, die für das Handy als auch für den Desktop Browser zur Verfügung steht. Künftig braucht man also nicht mehr seinen Standort angeben, startet man über sein Handy die Suche nach einem nahe gelegenen Restaurant. Denn das Telefon kennt ja bekanntlich seinen Standort. Der User muss Gears lediglich die Abfrage dieser Informationen gestatten.

Andrei Popescu, Gears Engineer, dazu:

We have added a new Geolocation API, which allows you to build applications that can do new and exciting things based on your users' location. You can query Gears for the user's current location using the getCurrentPosition() method or you can ask Gears to notify you every time the location changes, using the watchPosition() method. Of course, we take privacy issues very seriously, which is why we have a special permission dialog that allows users to decide which Web sites should have access to their location information.
Ebenfalls neu ist die Blob API, mit dem Developer in JavaScript auf beliebig binäre Daten referenzieren können:
Blobs can more naturally represent things like files and images, and they can be passed around efficiently. We have updated several existing APIs to work with blobs, such as WorkerPool sendMessage() and HttpRequest send(). And that's not all! We have also extended the Desktop API with a new method, openFiles(), which allows users to select multiple files of a particular content type, and then returns them as blobs for easy uploading or worker processing.

Felix Schrader

Kommentare
Gravatar Andreas 07.10.2008
um 19:15 Uhr
Am Anfang hat Google Geolocation API nur die Lage für die Amerikaner bestimmen können, sonst mit "unbekannt" geantwortet. Später war dieser Service weiterentwickelt, aber auch jetzt zeigt er manchmal keine Ergebnisse selbst für die entwickelten Länder. Für solche Fälle gibt es eine kleine Erweiterung zur Google API, als ein kleines Script, das das Land des Nutzers anzeigt. http://www.wipmania.com/de/blog/google-geolocation-api/ #zitieren
Neuer Kommentar
  • Gute Kommentare werden belohnt.
  •   (optional)
  •   (Kommentar abonnieren/Gravatar - wird nicht veröffentlicht)
  •    Benachrichtige mich bei nachfolgenden Kommentaren per E-Mail
  • -+
Tags
Werbung
google gears