Google Glass Developing for Glass & Alfresco.

Slides:



Advertisements
Similar presentations
Cuyamaca College Staff Development Workshop Fall 2009.
Advertisements

HTML5 ETDs Edward A. Fox, Sung Hee Park, Nicholas Lynberg, Jesse Racer, Phil McElmurray Digital Library Research Laboratory Virginia Tech ETD 2010, June.
A really fairly simple guide to: mobile browser-based application development (part 1) Chris Greenhalgh G54UBI / Chris Greenhalgh
ADA Compliant Websites & Documents What the heck am I supposed to do?
Designing a Poster Difference between content, layout and styles Miss Allgar.
Difference between content, layout and styles Miss Allgar
 PowerPoint is a presentation graphics program that lets you create slide shows you can present by showing the slides on a computer or projection screen.
Edit this text to create a title slide And put your sub-heading here.
PART 6 Application Layer
Kyung Hee University 1 1 Application Layer. 2 Kyung Hee University Position of Application Layer.
Click to Add Title 0 Click to Add Subtitle To replace this photo with one of your own, go to the master page, delete this image, insert your own image,
CIS101 Introduction to Computing Week 05. Agenda Your questions CIS101 Survey Introduction to the Internet & HTML Online HTML Resources Using the HTML.
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
CRICOS Provider No 00025B uq.edu.au THE UNIVERSITY OF QUEENSLAND POWERPOINT TEMPLATE.
HTML: PART ONE. Creating an HTML Document  It is a good idea to plan out a web page before you start coding  Draw a planning sketch or create a sample.
PowerPoint Exercise: Download this exercise to your computer, then complete the numbered tasks. Fulbright Computer Skills Summer 2012.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Application Protocols: HTTP CSNB534 Semester 2, 2007/2008 Asma Shakil.
Google Cloud Messaging for Android (GCM) is a free service that helps developers send data from servers to their Android.
How To Use Google Docs. 1. Go to the Google Docs website a) Go to b) Sign in using your username and password.
© 2012 Autodesk Implementing Cloud-Based Productivity Solutions with the AutoCAD® ObjectARX® API Ravi Krishnaswamy Senior Software Architect.
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
How To Use This Template The blank slide below will be your canvas for creating your very own custom header image! The slide has already been sized to.
Javascript II DOM & JSON. In an effort to create increasingly interactive experiences on the web, programmers wanted access to the functionality of browsers.
XHTML TAGS I Basic Tags. North Lake College 2 by Sean Griffin Sample XHTML Code.
Customizable Power Point templates for images to use in Social Media. Share your content & brand yourself! By Teresa Ann Duran Customizable Power Point.
Making an Amazing Power Point Presentation Pioneer Media Center.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 27 HTTP and WWW.
Instructions To use this Powerpoint resource please follow these steps: 1.Select which slide(s) you would like to use. 2.Right-click on the slide, under.
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
Instructions To use this Powerpoint resource please follow these steps: 1.Select which slide(s) you would like to use. 2.Right-click on the slide, under.
Web Authoring with Dreamweaver. Unit Objectives  Be able to define keywords: HTML, HTTP (protocol), browser, web server, client/server, tag, attribute,
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
1 Chapter 22 World Wide Web (HTTP) Chapter 22 World Wide Web (HTTP) Mi-Jung Choi Dept. of Computer Science and Engineering
Best Practices for Alfresco Replication, Backup and Disaster Recovery Richard McKnight Principal Consultant Brian Long Principal Consultant.
Armedia Case Management for Investigative Case Management David Miller Director of Technology, Armedia James Bailey President, Armedia.
Redmond Protocols Plugfest 2016 Tarun Chopra Accessing APIs through Add-Ins Sr. Escalation Engineer.
Armedia Case Management for Investigative Case Management David Miller Director of Technology, Armedia James Bailey President, Armedia.
Activiti in an Event- driven architecture Robin Bramley Chief Scientific Officer, Ixxus.
Use Colors From the Established Palette
DHTML.
Introduction to HTML.
International Admission Update CSB/SJU Template
The Future and Content Management
RESTful Sevices Distributed Objects Presented by: Shivank Malik
z/Ware 2.0 Technical Overview
Microsoft Powerpoint.
Data Virtualization Tutorial… OAuth Example using Google Sheets
Best Practices for Alfresco Replication, Backup and Disaster Recovery
Basic XHTML Tables XHTML tables—a frequently used feature that organizes data into rows and columns. Tables are defined with the table element. Table.
Social Networks Integration in Android
Presentation title Subtitle Presenter name.
Presentation title Subtitle Presenter name.
Chapter 27 WWW and HTTP.
International Admission Update CSB/SJU Template
2010 Microsoft BI Conference
International Admission Update CSB/SJU Template
Presenter Name Heading 32- Point
ADA Compliant Website & Documents
Committee / Presenter Info
PART 6 Application Layer
BRAND POWERPOINT TEMPLATE
Tutorial 10: Programming with javascript
International Admission Update CSB/SJU Template
6th International CANDU ISI Workshop/NDT in Canada 2016 Conference
Sample text or Subtitle
Sample text or Subtitle
DIBBs Brown Dog BDFiddle
Presentation transcript:

Google Glass Developing for Glass & Alfresco

APIs

GDK – Glass Development Kit Add-on to the Android SDK

GDK – Glass Development Kit Real-time User Interaction Offline Functionality Access To Hardware

Mirror RESTful API POST /mirror/v1/timeline HTTP/1.1 Host: www.googleapis.com Authorization: Bearer {auth token} Content-Type: application/json Content-Length: 26 { "text": "Hello world" }

Platform Independence Common Infrastructure Built-in Functionality Mirror Platform Independence Common Infrastructure Built-in Functionality

Must I use just one API

GDK and Mirror Hybrid Approach

What can I send to Glass

Card Attachments – Static Text Image Video Bundle

Live Card

Immersion

Who wants to see a demo

Use Case #1 Publish Image to Glass Document Library Action Repo Service Google OAuth Client

Sample Code – Insert To Timeline //Get the Mirror API Mirror mirror = getMirrorApi(credential); //Create a new TimelineItem ie Card TimelineItem item = new TimelineItem(); //Get the FileInfo for the Node FileInfo fileInfo = fileFolderService.getFileInfo(nodeRef); //Set the file name as the title of the Card item.setTitle(fileInfo.getName()); //Create insert action (mimetype, inputStream) Insert insert = mirror.timeline().insert(item, new InputStreamContent(fileInfo.getContentData().getMimetype(), fileFolderService.getReader(nodeRef).getContentInputStream())); //execute insert insert.execute(); White: Blank (no brand)

Use Case #2 Retrieve Image from Alfresco GDK Glassware Glass Web browser Alfresco Share Proxy

Sample Code – Retrieve from Alfresco private void handleResult(Result result) { //This is very nasty. Hardcoded user and password. //Proxy will only show images within the browser. //Need a new call to transform documents to images. String url = "http://admin:admin@156.124.12.34:8081 \ /share/ proxy/alfresco/api/node/content/workspace/ \ SpacesStore/" + result.getText() + "/glass"; //define activity intent to open a url Intent intent = new Intent(Intent.ACTION_VIEW, \ Uri.parse(url)); //load image startActivity(intent); } White: Blank (no brand)

Where is the code? All code is POC – offered with no support! https://github.com/jottley/stainedglass https://github.com/jottley/zxing

Q&A

@wabson @rwijangco @tsgrp @ZXing

White: Comparison Heading Left Heading Right Level 1 Level 2 Level 3 DO NOT USE

White: Title (no brand)

Sample Code { // extract avm store id and path var fullpath = url.extension.split("/"); if (fullpath.length == 0) status.code = 400; status.message = "Store id has not been provided."; status.redirect = true; break script; } var storeid = fullpath[0]; var path = (fullpath.length == 1 ? "/" : "/" + fullpath.slice(1).join("/"));

White: Blank (no brand)

White: Picture and Caption

Image Library

Color Palette Lemon Tangerine Sky Blueberry Leaf Chalkboard Soil Clay Sand

Iconography

Logo and Tagline

Other Graphics

A Sample Slide This is a bullet Header without bullet This is a level 2 bullet This is a level 3 bullet Header without bullet This is level 3, avoid going below this level. 20% Cloud 60% Hybrid 20% On-Prem Example Graphic

Fonts & Styling Helvetica Neue Medium Helvetica Neue Medium (Bold) Helvetica Neue Light Helvetica Neue Light (Bold) Helvetica Neue Thin Helvetica Neue Thin (Bold)

Color Palette & Sample Shapes Lemon Tangerine Sky Blueberry Leaf Chalkboard Soil Clay Sand

Government & Intelligence Alfresco in information intensive industries Our sweet spot – industries that need process, control and collaboration Government & Intelligence Banking & Insurance Manufacturing Media & Publishing High Tech