Beginning Google Glass Development

Beginning Google Glass Development

Language: English

Pages: 368

ISBN: 1430267887

Format: PDF / Kindle (mobi) / ePub


Beginning Google Glass Development is your number one resource for learning how to develop for Google Glass--the paradigm-shifting mobile computing platform taking the world by storm now and for years to come. Mobile developers have always had to think for the future, and right now that means getting started with Google Glass.

This book is incredibly hands-on with many exciting projects. You will learn the basics of Glass and how to set up your development environment, through to every Glass development topic using Glass Development Kit (GDK):

• Glass User Interface

• Camera and Image Processing

• Video: Basics and Applications

• Voice and Audio

• Network, Bluetooth, and Social

• Locations, Map, and Sensors

• Graphics, Animation, and Games

You will also learn how to develop enterprise and web-based Glass apps using the Mirror API. Each topic is full of examples that illustrate what Glass can truly do and help you quickly start developing your own apps.

Jeff Tang has successfully developed mobile, web, and enterprise apps on many platforms, and cares immensely about user experience. He brings his vast knowledge to this book through cool and practical examples, which will excite and tantalize your creativity.

This book is for any developer who is keen to start developing for Glass with GDK or the Mirror API. Whether you are an Android, iOS, web, or enterprise developer, you do not want to miss the chance that Glass becomes the next big thing. Get started with Beginning Google Glass Development and be inspired today.

What you’ll learn

• Glass User Interface

• Camera and Image Processing

• Video: Basics and Applications

• Voice and Audio

• Network, Bluetooth, and Social

• Locations, Map, and Sensors

• Graphics, Animation, and Games

Who this book is for

This book is for any developer who is keen to start developing for Glass. You may have worked with iOS apps, Android apps, or both – but you can start developing with Glass today using this book.

Table of Contents

01 - Getting Started

02 - Hello Glass! Your First GDK Glassware

03 - Glass User Interface

04 - Camera and Image Processing

05 - Video: Basics and Applications

06 - Voice and Audio

07 - Networking, Bluetooth, and Social

08 - Locations, Maps, and Sensors

09 - Graphics, Animations, and Games

10 - The Mirror API (The Mirror API and Enterprise Apps)

Android Application Development for Java Programmers

Making Poverty: A History

The Myth of Development: Non-Viable Economies and the Crisis of Civilizatio (2nd Edition)

Lucene in Action: Covers Apache Lucene 3.0 (2nd Edition)

Temptations of the West: How to Be Modern in India, Pakistan, Tibet, and Beyond

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

folder and overwrite strings.xml in GlassUIElements’s res/values folder. 6. Copy the element from GlasswareTemplate’s AndroidManifest.xml file to the element of GlassUIElements’s AndroidManifest.xml file, and change glasswaretemplate in the android:name element of activity and service to glassuielements. The whole process seems long, but with a few more tries, you can create a new project within a minute. Now you’re ready for

android:layout_height="wrap_content" android:ellipsize="marquee" android:singleLine="true" android:textStyle="bold" /> CHAPTER 5: Video: Basics and Applications 141 Add the VideoAdapter class implementation with the getView method, which defines how to show each video item. Because you use the thumbnail URL for each result to make the list look

after the video play is done. Make the following changes in MyVideoApps’ VideoSearchActivity.java file: 1. Add the following code after public void launchVideo(String youtubeurl): private static String mFileName = Environment.getExternalStorageDirectory(). getAbsolutePath() + "/karaoke-recording.3gp"; private MediaRecorder mRecorder = null; private MediaPlayer mPlayer = null; private Boolean mRecording; private void startPlaying() { mPlayer = new MediaPlayer(); try {

Eclipse IDE on a computer running Windows, Mac, or Linux with the following requirements (see http://developer.android.com/sdk/index.html for more details): Intel-based Mac OS X 10.5.8 or newer Windows XP (32-bit), Vista (32/64-bit), or Windows 7 (32/64-bit) or newer Linux (preferably Ubuntu Linux 8.04 or newer) 13 14 CHAPTER 2: Hello, Glass! Your First GDK App Android Developer Tools The ADT Bundle is Google’s recommended tool for developing Android and GDK apps quickly. If you’re an

computer to Ubuntu. Note If you have another Linux distribution or Ubuntu on a virtual machine, the steps to install ADT should be similar. The following steps have been tested on Ubuntu downloaded and installed from the previous URLs. CHAPTER 2: Hello, Glass! Your First GDK App The steps to install and set up ADT on Ubuntu Linux are as follows: 1. Download the ADT bundle called Linux 64-bit adt-bundlelinux-x86_64-20140321.zip or the latest ADT bundle at http://developer.android.com/sdk

Download sample

Download