Frohe Weihnachten: Google gibt Santa Tracker mit vielen Web- und Android-Technologien als Open Source frei

code 

Wenn man an manchen Tagen aus dem Fenster blickt könnte man zwar den Eindruck haben dass schon bald die Weihnachtsbäume aufgestellt werden, aber hoffentlich müssen wir die Badehose noch nicht ganz so weit wegpacken. Dennoch hat Google nun eine weihnachtliche Überraschung für alle interessierten Entwickler im Angebot: Der letztjährige Google Santa Tracker wurde nun als Open Source freigegeben. In dem Paket befindet sich sowohl die Web-App als auch die App für Android sowie für Android Wear.


In den letzten Jahren ist aus dem Google Santa Tracker ein richtiges Portal geworden, in dem sich nicht nur viele Spiele und kurzweilige Unterhaltung finden, sondern in dem auch viele Web-Technologien in beeindruckendem Umfang zum Einsatz kommen. Damit ist der Santa Tracker jedes Jahr auch eine kleine Showbühne, in der die Möglichkeiten der diversen Technologien und Google-Plattformen gezeigt werden. Umso interessanter ist es, dass die Apps als Open Source freigegeben werden.

santa tracker

Schon im vergangenen Jahr wurde der Santa Tracker freigegeben, und vor wenigen Tagen wurden die Archive nun noch um die 2015er-Version aktualisiert. Das gesamte Paket befindet sich auf einer GitHub-Seite und kann bequem durchgeklickt oder heruntergeladen und so natürlich auch verändert werden. In der Ankündigung wird noch kurz beschrieben, welche Technologien zum Einsatz kommen und was die Besonderheiten der einzelnen Apps sind.

Android-App

android app

  • The Santa Tracker Android app is a single APK, supporting all devices, such as phones, tablets and TVs, running Ice Cream Sandwich (4.0) and up. The source code for the app can be found here.
  • Santa Tracker leverages Firebase features, including Remote Config API, App Invites to invite your friends to play along, and Firebase Analytics to help our elves better understand users of the app.
  • Santa’s Village is a launcher for videos, games and the tracker that responds well to multiple devices such as phones and tablets. There’s even an alternative launcher based on the Leanback user interface for Android TVs.
  • Games on Santa Tracker Android are built using many technologies such as JBox2D (gumball game), Android view hierarchy (memory match game) and OpenGL with special rendering engine (jetpack game). We’ve also included a holiday-themed variation of Pie Noon, a fun game that works on Android TV, your phone, and inside Google Cardboard’s VR.



Android Wear

android wear

  • The custom watch faces on Android Wear provide a personalized touch. Having Santa or one of his friendly elves tell the time brings a smile to all. Building custom watch faces is a lot of fun but providing a performant, battery friendly watch face requires certain considerations. The watch face source code can be found here.
  • Santa Tracker uses notifications to let users know when Santa has started his journey. The notifications are further enhanced to provide a great experience on wearables using custom backgrounds and actions that deep link into the app.



Web-App

web app

  • Santa Tracker is mobile-first: this year’s experience was built for the mobile web, including an amazing brand new, interactive – yet fully responsive, village: with three breakpoints, touch gesture support and support for the Web App Manifest.
  • To help us develop Santa at scale, we’ve upgraded to Polymer 1.0+. Santa Tracker’s use of Polymer demonstrates how easy it is to package code into reusable components. Every house in Santa’s Village is a custom element, only loaded when needed, minimizing the startup cost of Santa Tracker.
  • Many of the amazing new games (like Present Bounce) were built with the latest JavaScript standards (ES6) and are compiled to support older browsers via the Google Closure Compiler.
  • Santa Tracker’s interactive and fun experience is enhanced using the Web Animations API, a standardized JavaScript API for unifying animated content.
  • We simplified the Chromecast support this year, focusing on a great screensaver that would countdown to the big event on December 24th – and occasionally autoplay some of the great video content from around Santa’s Village.

» Google Santa Tracker 2015 Web bei GitHub
» Google Santa Tracker 2015 Android bei GitHub
» Ankündigung im Google Developers Blog




Teile diesen Artikel:

Facebook twitter Pocket Pocket