Android Easter Egg

With the last few days being slow news days, we thought we’d share a little link love with a fellow Android site. The guys over at PointGPhone recently alerted us to a little hidden gem buried within the Android developer kit. It seems that the team behind the SDK have a little appreciation for The Hitchhikers Guide to the Galaxy. If you’re not familiar with the story, Deep Thought is a computer that was created by a pan-dimensional, hyper-intelligent race of beings to come up with the ultimate answer to Life, the Universe, and Everything. After seven and a half million years of calculation, the answer finally turns out to be 42.

How does this come into play in the SDK? Well, according to our French friends, “Pourquoi je parle de ça? Tout simplement parce que les créateurs d’Android ont eux glissé un easter egg dans leur code faisant référence à ce fameux nombre 42.

Pour le voir, il suffit de lancer la console adb (Android Debug Bridge) et d’utiliser la commande : “service call SurfaceFlinger 7 i32 0 i32 X” où X est égal à 1, 2, 3 ou 4 ce qui permet d’orienter l’écran dans différents sens. Si on remplace X par 42, on obtient un résultat quelque peu inattendu!”

For a picture of what all that means, click here. Long story short, if you change one of the numbers in the Android Debug Bridge, you get a pretty goofy picture. Need help translating?

Thanks guys!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s