HOW TO DEVELOP FOR GLASS ENTERPRISE

Similar documents
Choose OS and click on it

Android Studio Setup Procedure

Installation Instructions

Installation Instructions

IT-G400 Series. Android 6.0 Quick Start Guide. This document is a Development Guide Book for IT-G400 application developers. Ver 1.

Hello World. Lesson 1. Create your first Android. Android Developer Fundamentals. Android Developer Fundamentals

Android SDK under Linux

Android. Lesson 1. Introduction. Android Developer Fundamentals. Android Developer Fundamentals. to Android 1

SD Module- Android Programming

Tutorial on Basic Android Setup

Android Sdk Install Documentation Eclipse. Ubuntu >>>CLICK HERE<<<

Tutorial on OpenCV for Android Setup

Assignment 1: Port & Starboard

Android Sdk Setup For Windows 7 32 Bit Full Version

X1 Augmented Reality SmartGlasses Developer Guide

TrinityCore Documentation

Preparing Rapise for Android Mobile Testing. Testing Architectures. Installation Notes

XML Tutorial. NOTE: This course is for basic concepts of XML in line with our existing Android Studio project.

Tutorial on OpenCV for Android Setup

1 - Download the VarAFT software. Go to click on the Download section

This section contains information you should review before using this book. Any updates to the information presented here will be posted at:

Android Sdk Tutorial For Windows 7 64 Bit Full Version

(Refer Slide Time: 0:48)

WA1958 Mobile Software Design Patterns and Architecture Android Edition. Classroom Setup Guide. Web Age Solutions Inc.

Sample Spark Web-App. Overview. Prerequisites

Installing and configuring an Android device emulator. EntwicklerCamp 2012

TeslaSCADA2 Runtime(Android) User Manual. Version

manifold Documentation

Basic Android Setup for Machine Vision Fall 2015

Building graphic-rich and better performing native applications. Pro. Android C++ with the NDK. Onur Cinar

What is the Selendroid?

Create new Android project in Android Studio Add Button and TextView to layout Learn how to use buttons to call methods. Modify strings.

CS2113 Lab: Collections 10/29/2018

CROSS-PLATFORM UTILITIES (CXUTILS) LIBRARY 2.0 USER DOCUMENTATION

Ios Sdk Documentation For Windows 7 32 Bit Full Version

Android Studio 3.0 Development Essentials Android 8 Edition

Getting Started with Android Development Zebra Android Link-OS SDK Android Studio

Windows quick start instructions Pg. 1. OS X quick start instructions Pg. 4. ios quick start instructions Pg. 6

Tool installation for PMC-MC-X2/X4 with P2020 series processor

Manual Of Virtualbox Additions Ubuntu Server 12.04

CSCI 201 Lab 1 Environment Setup

IntelliJ IDEA Getting Started Guide for FIRST Robotics Competition

Installation Guide - Mac

Getting Started with Eclipse/Java

Apache Tomcat Installation guide step by step on windows

Silk Test Testing Mobile Applications

Pemrograman Mobile. Lesson 1. Introduction to Android. Create Your First Android App. Nizar Rabbi Radliya

Introduction to Android

PadFone Infinity. Standard Operating Procedure for Upgrading the Firmware to Android Kit Kat

Android meets Docker. Jing Li

FIRST Tech Challenge 8/31/2016

Purpose. Why use Java? Installing the Software. Java

Installing and Running the Google App Engine On a Macintosh System

Installation of the PLCnext Technology SDK and Eclipse

Secure Browser Installation Manual For Technology Coordinators

Lab Android Development Environment

GIT. A free and open source distributed version control system. User Guide. January, Department of Computer Science and Engineering

Oracle Enterprise Pack

Manual Java For Mac Developer Package

(Refer Slide Time: 1:12)

User Guide. ThinkFree Office Server Edition June 13, Copyright(c) 2011 Hancom Inc. All rights reserved

BlackBerry Developer Global Tour. Android. Table of Contents

Tensorflow v0.10 installed from scratch on Ubuntu 16.04, CUDA 8.0RC+Patch, cudnn v5.1 with a 1080GTX

Mobile Programming Lecture 1. Getting Started

Installation and Upgrade Guide Zend Studio 7.0

Lab2 - Bootloader. Conventions. Department of Computer Science and Information Engineering National Taiwan University

Bitnami Node.js for Huawei Enterprise Cloud

WES 237A Project Part 1 Guide

DEVELOPING APPS FOR. Note: This ebook relies on and uses information from the Google Glass Developers site.

Setting up the K70 with KDS

Android ATC Android Security Essentials Course Code: AND-402 version 5 Hands on Guide to Android Security Principles

Qualcomm Snapdragon Profiler

How to Set up Eclipse and Android SDK Manager Environment You need to download the following

WA1884 Introduction to Java. using Oracle JDeveloper 11g. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

Manual Android Virtual Device Failed To Load Error

Client VPN OS Configuration. Android

ECOM 5341 Mobile Computing(Android) Eng.Ruba A. Salamah

O365 Exchange on Android

Produced by. Mobile Application Development. David Drohan Department of Computing & Mathematics Waterford Institute of Technology

Tutorial on Basic Android Setup

MariaDB ColumnStore C++ API Building Documentation

5th April Installation Manual. Department of Computing and Networking Software Development Degree

Contents 2. Contents

Homework 9: Stock Search Android App with Facebook Post A Mobile Phone Exercise

CS520 Setting Up the Programming Environment for Windows Suresh Kalathur. For Windows users, download the Java8 SDK as shown below.

WA1927 Introduction to Struts 2.x Using Eclipse. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

User Guide. Android x86 Modified System. Sponsor: Huan Ren. Compiled by: Zachary Bair, Taronish Daruwalla, Joshua Duong, and Anthony Nguyen

DEVELOPERS MANUAL. Philip SUPER HAPPY FUN FUN INC Research Blvd. Suite C-220 Austin, TX, 78759

POSTouch Open Source Driver (OSE) Installation Guide

Homework #7 Google Cloud Platform

Using MFA with the Pulse Client

Android Sdk Tutorial Toolkit Version

Developing Android applications in Windows

X1 Augmented Reality SmartGlasses Developer Guide

Red Hat JBoss Developer Studio 10.4 Installation Guide

Using Opengl Es 2.0 For Android Development Develop And Design Pdf

Installing Eclipse (C++/Java)

How To Install Java Manually Linux Ubuntu Bit

Topic: Dropbox. Instructional Technology Services Dropbox Faculty Help. Dropbox Features: Minimum Requirements: Create a Dropbox Account

Object-Oriented Programming in Java

Transcription:

HOW TO DEVELOP FOR GLASS ENTERPRISE

Index 1 Introduction. 2 Install Android Studio. 3 SDK Platform and Glass Development Kit preview for android 4.4.2 (API 19). 4 Activate debug. 5 Connect Glass. Authorize. 6 Import a Project. 7 Extras. 7.1 Gradle. 7.2 Gestures. 8 Webs of interest.

1 Introduction. By using this document, you will get to know everything that is required to initiate app development for Glass Enterprise. This document has been put together from an imac with macos 10.12.4 2 Install Android Studio. Download Android Studio from the official link: https://developer.android.com/studio/index.html Once you have downloaded the file, go through the following steps: Instructions for MAC: 1. Execute DMG file from Android Studio. 2. Drag Android Studio and Drop on the Applications folder. Then, initiate Android Studio. 3. Choose whether you wish to import previous configurations from Android Studio and click OK. 4. Android Studio config assistant will guide you through the rest of required steps; this includes downloading Android SDK components needed for development. Instructions for Windows: 1. Execute downloaded.exe file. 2. Follow config assistant indications to install Android Studio and required SDK tools. 3. In some Windows OS s, start command sequence does not find the JDK installation destination. If this occurs, you must configure an environment variable to point at the right location. 4. Select Start menu > Computer > System Properties > Advanced System Properties. Then, open Advanced > Environment Variables and add a new system variable JAVA_HOME to point at your JDK folder. For example, C:\Program Files\Java\jdk1.8.0_77.

Instructions for Linux: 1. Unzip the downloaded.zip file in a location for your apps; for example, inside /usr/local/ for your user profile or in /opt/ for user sharing. 2. To start Android Studio, open a terminal, navigate toward the android-studio/bin/ desk and execute studio.sh. 3. Suggestion: Add android-studio/bin/ in your ACCESS ROUTE environment variable to enable you to start Android Studio from any directory. 4. Choose whether you wish to import previous configurations from Android Studio and click OK 5. Android Studio config assistant will guide you through the rest of required steps; this includes downloading Android SDK components needed for development. Nota: If you execute 64-bit Ubuntu, you must install some 32-bit libraries with the following line: sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6 If you use 64-bit Fedora: sudo yum install zlib. i686 ncurses - libs. i686 bzip2 - libs. i686 By following these steps, Android Studio will be correctly installed in your system.

3 SDK Platform and Glass Development Kit preview for Android 4.4.2 (API 19). Click on Configure > SDK Manager. From this window, go to: Android SDK > SDK Platforms > click on Show Package Details > Select SDK, Sources and Glass Development Kit Preview > OK. Downloading occurs automatically. You will be informed about which files will be downloaded, accept all of them and click Next. Once downloading ends, click on Finish.

4 Activate debug. On your Glass Enterprise, go to Settings > Device Options > Device Info > Turn on debug. In this manner, you activate adb enabling Android Studio to communicate with Glass.

5 Connect Glass. Authorize. As you connect to the computer, you will have to tap on the touchpad to allow access to your Glass. Now, if you type adb devices from a terminal, our Glass will look like this: 6 Import a Project. To import a project to your Android Studio: 1. Click on Version Control > Git. 2. Indicate your project URL and the directory where you want it located. Take a look at this example:

3. Click OK. 4. Then, you can compile and run this project on your connected Glass by tapping Play. 7 Extras. We would like to share some information to be considered when developing for Glass Enterprise. 7.1 Gradle. In your Gradle file, in compilesdkversion you will have to indicate the Glass Development Kit and your minimum SDK version, something that reads 19 or less. 7.2 Gestures. In order to capture and make use of gestures with Glass:

1. Declare your GestureDetector: private GestureDetector mgesturedetector; 2. Start it on init or on oncreate: mgesturedetector = creategesturedetector(this); 3. Declare the method creategesturedetector, where you will indicate which action is to be carried out depending on what is done on the touchpad: private GestureDetector creategesturedetector(final Context context) { GestureDetector gesturedetector = new GestureDetector(context); gesturedetector.setbaselistener(new GestureDetector.BaseListener() { @Override public boolean ongesture(gesture gesture) { if (gesture == Gesture. TAP ) { tapsound(); alertpresenter.gotoscrollview(); return true; } else if (gesture == Gesture. SWIPE_DOWN ) { dismisssount(); finish(); return true; } else if (gesture == Gesture. SWIPE_RIGHT ) { launchlogoutactivity(); return true; } else if (gesture == Gesture. LONG_PRESS ) { if (issoundactivated) { changesound(false); } else { changesound(true); } return true; } else if (gesture == Gesture. SWIPE_UP ) { checkconnection(); return true; } return true; } }); return gesturedetector; }

7.3 Integrate your app on the Streye Launcher. To be able to integrate your app on the Streye Launcher so that it will be shown on the Apps Menu (Interface) you need to add com.streye as a prefix to your app s pack name ( com.streye.yourappsnamehere) This is enough to get it done for your app to show on the Launcher s Menu: go back to the main interface, tap and swipe until you see your app with the rest of them. 8 Webs of interest. Google glass developers: https://developers.google.com/glass/ Android Developers: https://developer.android.com/index.html Android Studio Web: https://developer.android.com/studio/index.html