What’s seen through [Glass]

Hey everyone!

Google Glass has been creating waves in the ocean of technology even since it’s inception at Google I/O 2012. The device has it’s own pros and cons and after having used it for over a month now, here’s a glimpse of what you see through;

[Glass]

Developing applications for Google Glass is pretty straightforward. Both the Mirror API and the GDK enable developers to create web based and native applications respectively for the wearable device. In addition, one can also try out various features that include winking to take photos, head angle detection, real time search and language translate options.

Recently, the second generation Google Glass device was launched in the United Kingdom that works with prescription glasses and has a detachable ear piece to improve voice-activated commands. To know more check out this space later…

Tutorial #77: Getting started with Google Dart!

Dart is an open source web programming language developed by Google. Like any web programming language, Dart too relies mainly on its cross-compilation to JavaScript feature in order to run on current browsers. It is a class based, object oriented language used to create client side web applications. The Dart project was founded by Lars Bak and Kasper Lund. Some of the key features of the Dart programming language include:

1. Classes – Dart’s classes and interfaces give developers what they need to effectively understand how to define APIs, and the constructs allow the encapsulation and reuse of data and methods.

2. Libraries – The libraries used by Dart will not change during run-time. Pieces of Dart code that are independently developed are thus able to rely upon those shared libraries.

In this tutorial, we will learn how to get started with Dart on Windows!

Pre-requisites: Windows OS (64 bit)

Step 1: Download Dart editor

Google released Dart Editor, an open-source editor based on Eclipse components for Windows, Mac OSX and Linux-based operating systems. You can download the bundle containing both the Dart SDK and the editor from over here.

Step 2: Write a Hello World program

Once you have downloaded Dart editor, launch it and create a New Application called HelloWorld as follows!

dart_1

First, you need to modify the HelloWorld.html file to include a button above the already existing script tags.

<button id="myButton">Click Me!</button>
<div id="myResult"></div>

Next, open the HellowWorld.dart file and add the following code!

import 'dart:html';

void main() {
  var button = query("#myButton");
  button.onClick.listen(addResult);
}
 
void addResult(Event e) {
  var resultDiv = query("#myResult");
  resultDiv.text = "You clicked the button";
}

Finally, save all changes and run the application. A new instance of the chromium browser should launch displaying the HTML content. Click on the button to view the result!

dart_2

That’s it for this tutorial. Stay tuned for more! 🙂

Source: What Google Dart means for web developers

Happy birthday Google!

In the year 1998, exactly 14 years ago, two Stanford university students, Larry Page and Sergey Brin, came together to form a company that would change the face of the Internet world. Today, Google has made an impact in almost every walk of life with a wide range of products continuing to mesmerize millions of people all across the globe.

Here’s wishing the search engine giant a very happy 14th birthday. Just like good wine, it’s sure gonna get better with age! 🙂