SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Integrate Google (Glasses)
with SAP
Alessandro Iannacci
Introduction
Google Glass is a type of wearable technology with an optical head-monted display (OHMD). It
was developed by Google with the mission of producing a mass-market ubiquitous computer.
Glass gestures
You can use touch gestures by tapping and sliding your finger on the touchpad
located on the right side of the device
Back and display off: Swipe down
from the Home screen to turn the
display off. Swiping down also acts as
your back button.
Activate Glass/Action: Tap the
touchpad to turn the display on.
Swipe forward and back: to navigate
your timeline.
Timeline
The timeline is the main user interface that is exposed to users and is comprised of
640 × 360 pixel cards
The most recent items reside closest to the Home card, which is the default card users see when they wake Glass up.
Cards
Static card display text, images, and video content. Can have menu items
that let users carry out actions, such as replying to a text message or
sharing a photo
Static card development pattern
Live cards contain rich, real-time content. Live cards also have access to low-
level sensor data like the accelerometer and GPS. With this type of card you
can still navigate the timeline, while the card continues running on the
background. Also this card can have menu items.
The Compass uses sensors and renders custom graphics to create a unique user experience.
The Compass runs in the timeline and users can navigate away and return to it when desired.
Live card development pattern
Immersion displays Android activities that take over the timeline experience.
Immersion card development pattern
• The Glass Development Kit (GDK) is an add-on to the
Android SDK that lets you build Glassware that runs
directly on Glass. In general, use the GDK if you need
the following features:
• The mirror API this RESTful API lets you easily build
Glassware by letting you use the language of your
choice and providing easy to call web-based APIs.
Features:
How to develop for Google Glasses
Real-time User
Interaction
Offline Functionality
Access to Hardware
Platform
independence
Common Infrastructure
Built-in functionality
Cards and type of development
GDK Dev.
(i.e. SAP communications
via ODATA – as usual
Android development)
Live cards
Immersion
MIRROR APIs Dev.
Static cards
Special content: Hybrid Glassware
Mirror API Glassware can invoke GDK Glassware through a menu item.
Integrate Google (Glasses)
with SAP
Alessandro Iannacci
Using MIRROR APIs with SAP – use cases
VIDEO
https://www.youtube.com/watch?v=HPFBo41BEKY
Integrate Google (Glasses)
with SAP
Alessandro Iannacci
Google API ABAP Client
Google API Abap client
It's a library written in ABAP to leverage Google APIs (it's a newborn project so for now it supports only Mirror
APIs and the Google URL Shortener Service).
The library is directly translated from the official Google PHP library (google-api-PHP-client).
In future, like the official other libraries (php, java, etc.) it will support any other google api (geo data, gdrive,
gmail, tasks, etc. etc.).
It is very simple to use google-api-ABAP-client:
1. download the nugget and import all the objects using SAPLink
2. Register the application google client ID and change this setting in the application together with proxy
settings if needed
3. install the certificates using the S_TRUST T-Code
4. run the demo report ZGOOGLE_TEST and enjoy!
• http://scn.sap.com/community/cloud/blog/2014/06/06/integrating-google-glasses-with-sap
• https://github.com/Gh14Cc10/google-api-ABAP-client
How to use: OAuth2 recap
OAuth provides client applications a 'secure delegated access' to server resources on behalf of a resource owner.
The application that wants to access the user glasses timeline, needs to have a “client id” on a valid Google account.
This client id is defined inside a “Project” for wich the mirror apis are enabled.
How to use: OAuth2 recap
URI: accounts.google.com
URI: www.googleapis.com
All the requests are performed on SSL (https) so both systems (Google and SAP have to be configured to accept
the partner certificate. Google is already configured, for SAP you need to import google certs in STRUST Tcode)
How to use: Developer Key
Mirror API Functionalities (REST)
Method HTTP request Description
URIs relative to https://www.googleapis.com/mirror/v1, unless
otherwise noted
delete DELETE /timeline/i
d
Deletes a timeline
item.
get GET /timeline/id Gets a single
timeline item by ID.
insert POST
https://www.googlea
pis.com/upload/mirr
or/v1/timeline
and
POST /timeline
Inserts a new item
into the timeline.
list GET /timeline Retrieves a list of
timeline items for the
authenticated user.
patch PATCH /timeline/id Updates a timeline
item in place. This
method
supportspatch
semantics.
update PUT
https://www.googlea
pis.com/upload/mirr
or/v1/timeline/id
and
PUT /timeline/id
Updates a timeline
item in place.
Timeline
Method HTTP request Description
URIs relative to https://www.googleapis.com/mirror/v1, unless otherwise noted
delete DELETE /subscriptions/id Deletes a subscription.
insert POST /subscriptions Creates a new subscription.
list GET /subscriptions Retrieves a list of subscriptions
for the authenticated user and
service.
update PUT /subscriptions/id Updates an existing subscription
in place.
Subscriptions (callbackhandler)
Method HTTP request Description
URIs relative to https://www.googleapis.com/mirror/v1, unless otherwise noted
get GET /locations/id Gets a single location by ID.
list GET /locations Retrieves a list of locations for
the user.
Locations
Example in the system!
Simulators:
• mirror API playground: is an application that is able to get the static card list,
and to insert new cards. If you use the same google client id of SAP
application in mirror API playground, you will be able to see the same cards
uploaded from SAP.
• Google glasses on Android (Xenologer): is a modified google glasses os
running on android. It is an old version (maps and html cards not working)
but with this simulator you can see contents published for all the
applications.
Thank you!

Weitere ähnliche Inhalte

Was ist angesagt?

Android app development basics
Android app development basicsAndroid app development basics
Android app development basics
Anton Narusberg
 

Was ist angesagt? (20)

Google Android
Google AndroidGoogle Android
Google Android
 
Android Applications Development
Android Applications DevelopmentAndroid Applications Development
Android Applications Development
 
Android development session 5 - Debug android studio
Android development   session 5 - Debug android studioAndroid development   session 5 - Debug android studio
Android development session 5 - Debug android studio
 
Android Workshop
Android WorkshopAndroid Workshop
Android Workshop
 
Starting Native Development on Google Glass
Starting Native Development on Google GlassStarting Native Development on Google Glass
Starting Native Development on Google Glass
 
Android N Highligts
Android N HighligtsAndroid N Highligts
Android N Highligts
 
Android development beginners faq
Android development  beginners faqAndroid development  beginners faq
Android development beginners faq
 
Optimizing Apps for Better Performance
Optimizing Apps for Better PerformanceOptimizing Apps for Better Performance
Optimizing Apps for Better Performance
 
Android study jams 2021 [collab] [master]
Android study jams 2021 [collab] [master]Android study jams 2021 [collab] [master]
Android study jams 2021 [collab] [master]
 
What's new in android 4.4 - Romain Guy & Chet Haase
What's new in android 4.4 - Romain Guy & Chet HaaseWhat's new in android 4.4 - Romain Guy & Chet Haase
What's new in android 4.4 - Romain Guy & Chet Haase
 
Holland9 Android Workshop Hogeschool Rotterdam
Holland9 Android Workshop Hogeschool RotterdamHolland9 Android Workshop Hogeschool Rotterdam
Holland9 Android Workshop Hogeschool Rotterdam
 
Android studio
Android studioAndroid studio
Android studio
 
9780134433646 annuzzi ch02 (1)
9780134433646 annuzzi ch02 (1)9780134433646 annuzzi ch02 (1)
9780134433646 annuzzi ch02 (1)
 
Desarrollo AIR Mobile
Desarrollo AIR MobileDesarrollo AIR Mobile
Desarrollo AIR Mobile
 
Android app development basics
Android app development basicsAndroid app development basics
Android app development basics
 
Make Cross-platform Mobile Apps Quickly - SIGGRAPH 2014
Make Cross-platform Mobile Apps Quickly - SIGGRAPH 2014Make Cross-platform Mobile Apps Quickly - SIGGRAPH 2014
Make Cross-platform Mobile Apps Quickly - SIGGRAPH 2014
 
Android Wear Presentation
Android Wear PresentationAndroid Wear Presentation
Android Wear Presentation
 
Android N multi window
Android N multi windowAndroid N multi window
Android N multi window
 
Google I/O 2019 - what's new in Android Q and Jetpack
Google I/O 2019 - what's new in Android Q and JetpackGoogle I/O 2019 - what's new in Android Q and Jetpack
Google I/O 2019 - what's new in Android Q and Jetpack
 
What's new in Android at I/O'16
What's new in Android at I/O'16What's new in Android at I/O'16
What's new in Android at I/O'16
 

Ähnlich wie Google Glasses Integration with SAP

Google glass a developers perspective
Google glass   a developers perspectiveGoogle glass   a developers perspective
Google glass a developers perspective
EU Edge
 
Google glass ict day presentation
Google glass   ict day presentationGoogle glass   ict day presentation
Google glass ict day presentation
EU Edge
 

Ähnlich wie Google Glasses Integration with SAP (20)

Developing for Google Glass
Developing for Google GlassDeveloping for Google Glass
Developing for Google Glass
 
eBook - Developing Applications for Google Glass
eBook - Developing Applications for Google Glass eBook - Developing Applications for Google Glass
eBook - Developing Applications for Google Glass
 
The Glass Class - Tutorial1 - Introduction to Glassware Development
The Glass Class - Tutorial1 - Introduction to Glassware DevelopmentThe Glass Class - Tutorial1 - Introduction to Glassware Development
The Glass Class - Tutorial1 - Introduction to Glassware Development
 
Introduction to google glass
Introduction to google glassIntroduction to google glass
Introduction to google glass
 
Exploring Google (Cloud) APIs & Cloud Computing overview
Exploring Google (Cloud) APIs & Cloud Computing overviewExploring Google (Cloud) APIs & Cloud Computing overview
Exploring Google (Cloud) APIs & Cloud Computing overview
 
Introduction to google glass and GDK
Introduction to google glass and GDKIntroduction to google glass and GDK
Introduction to google glass and GDK
 
#MBLTdev: Разработка backend для мобильного приложения с использованием Googl...
#MBLTdev: Разработка backend для мобильного приложения с использованием Googl...#MBLTdev: Разработка backend для мобильного приложения с использованием Googl...
#MBLTdev: Разработка backend для мобильного приложения с использованием Googl...
 
Exploring Google APIs with Python
Exploring Google APIs with PythonExploring Google APIs with Python
Exploring Google APIs with Python
 
Mobile backends with Google Cloud Platform (MBLTDev'14)
Mobile backends with Google Cloud Platform (MBLTDev'14)Mobile backends with Google Cloud Platform (MBLTDev'14)
Mobile backends with Google Cloud Platform (MBLTDev'14)
 
Experience with Google Glass and Business Applications
Experience with Google Glass and Business ApplicationsExperience with Google Glass and Business Applications
Experience with Google Glass and Business Applications
 
The Glass Class - Tutorial 2 - Mirror API
The Glass Class - Tutorial 2 - Mirror APIThe Glass Class - Tutorial 2 - Mirror API
The Glass Class - Tutorial 2 - Mirror API
 
Google glass a developers perspective
Google glass   a developers perspectiveGoogle glass   a developers perspective
Google glass a developers perspective
 
Google glass ict day presentation
Google glass   ict day presentationGoogle glass   ict day presentation
Google glass ict day presentation
 
Wearable Development Ecosystem
Wearable Development EcosystemWearable Development Ecosystem
Wearable Development Ecosystem
 
Engineering and Industrial Mobile Application (APP) Development
Engineering and Industrial Mobile Application (APP) DevelopmentEngineering and Industrial Mobile Application (APP) Development
Engineering and Industrial Mobile Application (APP) Development
 
Google Cloud Developer Challenge - GDG Belgaum
Google Cloud Developer Challenge - GDG BelgaumGoogle Cloud Developer Challenge - GDG Belgaum
Google Cloud Developer Challenge - GDG Belgaum
 
Layar Q&A June 2015
Layar Q&A June 2015Layar Q&A June 2015
Layar Q&A June 2015
 
Google Cloud Platform
Google Cloud Platform Google Cloud Platform
Google Cloud Platform
 
Google Technical Webinar - Building Mashups with Google Apps and SAP, using S...
Google Technical Webinar - Building Mashups with Google Apps and SAP, using S...Google Technical Webinar - Building Mashups with Google Apps and SAP, using S...
Google Technical Webinar - Building Mashups with Google Apps and SAP, using S...
 
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
 

Kürzlich hochgeladen

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Kürzlich hochgeladen (20)

Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 

Google Glasses Integration with SAP

  • 1. Integrate Google (Glasses) with SAP Alessandro Iannacci Introduction
  • 2. Google Glass is a type of wearable technology with an optical head-monted display (OHMD). It was developed by Google with the mission of producing a mass-market ubiquitous computer.
  • 3. Glass gestures You can use touch gestures by tapping and sliding your finger on the touchpad located on the right side of the device Back and display off: Swipe down from the Home screen to turn the display off. Swiping down also acts as your back button. Activate Glass/Action: Tap the touchpad to turn the display on. Swipe forward and back: to navigate your timeline.
  • 4. Timeline The timeline is the main user interface that is exposed to users and is comprised of 640 × 360 pixel cards The most recent items reside closest to the Home card, which is the default card users see when they wake Glass up.
  • 5. Cards Static card display text, images, and video content. Can have menu items that let users carry out actions, such as replying to a text message or sharing a photo
  • 7. Live cards contain rich, real-time content. Live cards also have access to low- level sensor data like the accelerometer and GPS. With this type of card you can still navigate the timeline, while the card continues running on the background. Also this card can have menu items. The Compass uses sensors and renders custom graphics to create a unique user experience. The Compass runs in the timeline and users can navigate away and return to it when desired.
  • 9. Immersion displays Android activities that take over the timeline experience.
  • 11. • The Glass Development Kit (GDK) is an add-on to the Android SDK that lets you build Glassware that runs directly on Glass. In general, use the GDK if you need the following features: • The mirror API this RESTful API lets you easily build Glassware by letting you use the language of your choice and providing easy to call web-based APIs. Features: How to develop for Google Glasses Real-time User Interaction Offline Functionality Access to Hardware Platform independence Common Infrastructure Built-in functionality
  • 12. Cards and type of development GDK Dev. (i.e. SAP communications via ODATA – as usual Android development) Live cards Immersion MIRROR APIs Dev. Static cards
  • 13. Special content: Hybrid Glassware Mirror API Glassware can invoke GDK Glassware through a menu item.
  • 14. Integrate Google (Glasses) with SAP Alessandro Iannacci Using MIRROR APIs with SAP – use cases
  • 16. Integrate Google (Glasses) with SAP Alessandro Iannacci Google API ABAP Client
  • 17. Google API Abap client It's a library written in ABAP to leverage Google APIs (it's a newborn project so for now it supports only Mirror APIs and the Google URL Shortener Service). The library is directly translated from the official Google PHP library (google-api-PHP-client). In future, like the official other libraries (php, java, etc.) it will support any other google api (geo data, gdrive, gmail, tasks, etc. etc.). It is very simple to use google-api-ABAP-client: 1. download the nugget and import all the objects using SAPLink 2. Register the application google client ID and change this setting in the application together with proxy settings if needed 3. install the certificates using the S_TRUST T-Code 4. run the demo report ZGOOGLE_TEST and enjoy! • http://scn.sap.com/community/cloud/blog/2014/06/06/integrating-google-glasses-with-sap • https://github.com/Gh14Cc10/google-api-ABAP-client
  • 18. How to use: OAuth2 recap OAuth provides client applications a 'secure delegated access' to server resources on behalf of a resource owner. The application that wants to access the user glasses timeline, needs to have a “client id” on a valid Google account. This client id is defined inside a “Project” for wich the mirror apis are enabled.
  • 19. How to use: OAuth2 recap URI: accounts.google.com URI: www.googleapis.com All the requests are performed on SSL (https) so both systems (Google and SAP have to be configured to accept the partner certificate. Google is already configured, for SAP you need to import google certs in STRUST Tcode)
  • 20. How to use: Developer Key
  • 21. Mirror API Functionalities (REST) Method HTTP request Description URIs relative to https://www.googleapis.com/mirror/v1, unless otherwise noted delete DELETE /timeline/i d Deletes a timeline item. get GET /timeline/id Gets a single timeline item by ID. insert POST https://www.googlea pis.com/upload/mirr or/v1/timeline and POST /timeline Inserts a new item into the timeline. list GET /timeline Retrieves a list of timeline items for the authenticated user. patch PATCH /timeline/id Updates a timeline item in place. This method supportspatch semantics. update PUT https://www.googlea pis.com/upload/mirr or/v1/timeline/id and PUT /timeline/id Updates a timeline item in place. Timeline Method HTTP request Description URIs relative to https://www.googleapis.com/mirror/v1, unless otherwise noted delete DELETE /subscriptions/id Deletes a subscription. insert POST /subscriptions Creates a new subscription. list GET /subscriptions Retrieves a list of subscriptions for the authenticated user and service. update PUT /subscriptions/id Updates an existing subscription in place. Subscriptions (callbackhandler) Method HTTP request Description URIs relative to https://www.googleapis.com/mirror/v1, unless otherwise noted get GET /locations/id Gets a single location by ID. list GET /locations Retrieves a list of locations for the user. Locations
  • 22.
  • 23. Example in the system! Simulators: • mirror API playground: is an application that is able to get the static card list, and to insert new cards. If you use the same google client id of SAP application in mirror API playground, you will be able to see the same cards uploaded from SAP. • Google glasses on Android (Xenologer): is a modified google glasses os running on android. It is an old version (maps and html cards not working) but with this simulator you can see contents published for all the applications.