Google Glass in a Programmer's View

12
GOOGLE In a programmer's view

description

Google Glass is the next generation wearable smart device. This presentation explains some important aspects to be see understood before diving into program for Google Glass. What is the technologies used in it, how to approach as a developer are discussed. When comes to Google GLASS development there are 2 major approaches. 1 st is Native Glass app development and the other one is Glassware development. Take an overall idea about the glassware with the help of the architecture diagram of how it works.

Transcript of Google Glass in a Programmer's View

Page 1: Google Glass in a Programmer's View

GOOGLE In a programmer's view

Page 2: Google Glass in a Programmer's View

ANDROID

Google GLASS runs on Android 4.0.4, so basically an app developed using Android 4.0.4 or greater can be installed in the GLASS.

Page 3: Google Glass in a Programmer's View

DEVELOPMENT KIT

There is no GDK(GLASS Development KIT yet), But as this runs on Android you can use the traditional Android Development KIT to develop Native GLASS apps for the Google GLASS.

Page 4: Google Glass in a Programmer's View

DEPENDENCY GLASS does not have many sensors that are

available in a normal phone. It has WIFI, Bluetooth, Accelerometer and

Proximity Sensor. So it needed to be paired with a phone to access

those sensors. Which consumes extra battery. Usable battery time is also less compared to an

Android phone.

Page 5: Google Glass in a Programmer's View

GLASS PROGRAMMING APPROACHES

Google GLASS Development can be approached in 2 ways

•Native GLASS App(Android)

•GLASS Ware(Server Side)

Page 6: Google Glass in a Programmer's View

NATIVE GLASS APP DEVELOPMENT Native GLASS app development is same as developing

for normal android phones. But there are some things needed to be cared about. The platform should be Android 4.0.4 or greater. When developing I’ll advise to develop the app in the

landscape orientation as the glass is in landscape mode.

You should be on look out for some traditional features that’s not available, like Google Play services, auto focus feature on camera and many other.

Page 7: Google Glass in a Programmer's View

GLASS WARE DEVELOPMENT GLASS ware is a website/web service. It uses MIRROR API to create html information cards and send

them using the restful services to the google servers. MIRROR API is available in many popular languages so it is

language friendly. Then Google Servers will push those cards to the Google

Glass, when it is connected to the internet(Basic C2DM). Some actions like read aloud, pin, share can be specified for

the html cards generated in the Mirror API. Important - Mirror API does not support Java script

Page 8: Google Glass in a Programmer's View
Page 9: Google Glass in a Programmer's View

CURRENTLY MIRROR API IS AVAILABLE ON THESE LANGUAGES

Page 10: Google Glass in a Programmer's View

WHAT IS IMPOSSIBLE TO DO There is nothing impossible in Native Android app when you

can pair your GLASS to the phone. But when it comes to GLASS ware, there are some restrictions. The html cards you push cannot contain any java scripts. Using the cards only some predefined actions are possible.

(Example: share, delete, pin, read aloud) Native Android apps or intends cannot be launched using the

html cards pushed from the GLASS ware.

Page 11: Google Glass in a Programmer's View

ON MY EXPERIENCE On my experience on Google GLASS development, I

prefer native GLASS apps rather than the GLASS ware development.

Usually any problems can be handled using the Android.

But still there is a positive site in the GLASS ware. For the purpose of notification and updatable notification, GLASS ware is good.

Page 12: Google Glass in a Programmer's View

THE END

This slide is designed to provide basic knowledge on Google GLASS for developers, based on the XE9 update. All the details are written on my Experience as a Google Glass App developer at Exilesoft(Pvt) Ltd.

Those who are interested in Google GLASS and it’s Development please visit my Blog www.pathofacoder.com

Follow Me on