Skip to Content
Author's profile photo Alessandro Iannacci

Integrating Google Glasses with SAP

If you are an SAP Developer, and you read the Basar Ozgur Kahraman blog: Google Glass quick start demo on HANA, you can feel a little neglected.

There are several libraries developed by Google to leverage Mirror APIs, such as Java, Javascript, Php, Objective C and so on, but no one has thought about the “good old” ABAP!

So how can we do to leverage the Mirror APIs from SAP? Imagine how many things you could do if you can control the Google Glasses directly from ABAP!

Ok, maybe is a little early from a business perspective, but I think that everybody should anticipate the ideas, and I don’t like to leave ABAP as the last programming language in the world, so I am glad to present to you:

google-api-ABAP-client

google-api-ABAP-client.jpg

The google-api-ABAP-client is available on GitHub at the following link Gh14Cc10/google-api-ABAP-client · GitHub, and this is a short demo that will make you understand what you can do using SAP with a real Google Glasses device:

                                  

                                                                                                         Q/A

1. What is google-api-ABAP-client?

R. it’s a library written in ABAP to leverage Google APIs (it’s a newborn project so for now it supports only Mirror APIs)

2. What can I do with this library?

R. at this moment you can only do operations on the users google glasses timeline that are in the Google Cloud

3.Is the library secure?

R. the library leverages OAuth2 authentication protocol using an encrypted connection (HTTP over SSL)

4. How is the project structured

R. the library is directly translated from the official Google PHP library (google-api-PHP-client) and uses the existing zJSON project se38/zJSON · GitHub

5. Is it possible to collaborate?

R. Yes of course we are happy to have you in this project, so please join us asap on GitHub! 🙂

                                                                                         How to use

It is very simple to use google-api-ABAP-client:

1. download the nugget and import all the objects using SAPLink: Home | SAPlink Project | Assembla

2. install the certificates using the S_TRUST T-Code

3. if needed change the proxy settings

4. run the demo report ZGOOGLE_TEST and enjoy!

I made a short video to make things more understandable:

                                  

If you want to test your ABAP-GLASSES developments without a real device you can use Google Playground (but it is a little limited, for example the Google Playground is not able to renderize menu items or maps) or Xenologer (zhuowei/Xenologer · GitHub) that is the real google glasses OS modified to run on an android device (unfortunately html 5 and maps at the moment are not supported, so probably you will have some rendering inconsistencies, but at least menu items are working).

Many thanks to Alessandra Turri Ivan Femia and Basar Ozgur Kahraman for the great contribution they have made to enable the realization of this project.

Assigned tags

      18 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Rahul Muraleedharan
      Rahul Muraleedharan

      Great job Alessandro! Good initiative.

      Author's profile photo Alessandro Iannacci
      Alessandro Iannacci
      Blog Post Author

      Thank you Rahul!

      Author's profile photo Basar Ozgur Kahraman
      Basar Ozgur Kahraman

      Awesome! Congratulations Alessandro!!

      You brought ABAP to new trendy technology and gave a hand to ABAP developers to use googleglass. Google should add ABAP into GoogleGlass documents now. 🙂

      I am so glad to met you...

      Thank you very much for your efforts

      Regards

      Basar Ozgur

      Author's profile photo Alessandro Iannacci
      Alessandro Iannacci
      Blog Post Author

      Thank you Basar! I appreciated and also I am so glad to met you.

      I will propose to Google 🙂

      Let me know if you are able to try the framework!

      Author's profile photo Manuel Bellet
      Manuel Bellet

      Wonderful job!

      Author's profile photo Alessandro Iannacci
      Alessandro Iannacci
      Blog Post Author

      Grazie Manuel!

      Author's profile photo Former Member
      Former Member

      Thanks for your efforts.  I have to wait to try your additions.  More feed back soon.

      Author's profile photo Alessandro Iannacci
      Alessandro Iannacci
      Blog Post Author

      Thanks, let me know, I will support you for any problem.

      Author's profile photo Alessandro Iannacci
      Alessandro Iannacci
      Blog Post Author

      Hi all, under some request I am adding the Google API Console client settings, so if you want, you can create your own project:

      1.PNG

      2.PNG

      Author's profile photo Joao Sousa
      Joao Sousa

      Amazing stuff congratulations.

      Author's profile photo Jelena Perfiljeva
      Jelena Perfiljeva

      Really cool, thanks for sharing! Video is a nice cherry on top. 🙂

      Author's profile photo Ashok Babu Kumili
      Ashok Babu Kumili

      Hello Alessandro Iannacci,

      Great read.. Indeed, Very helpful... Awesome article.... This is a brilliant way to go.

      Regards Ashok

      Author's profile photo Former Member
      Former Member

      Ciao Alessandro,

      Fantastica iniziativa ! Ho installato il tuo tool e ti volevo chiedere un piccolo aiuto se possibile sulla parte di autenticazione del certificato google su sap ? 🙂

      Grazie.

      Davide.

      Author's profile photo Alessandro Iannacci
      Alessandro Iannacci
      Blog Post Author

      Ciao chiedi pure!

      Author's profile photo Former Member
      Former Member

      hi,

      really very nice thing to integrate ABAP with Google Glass hats off

      Author's profile photo Slim TRABELSI
      Slim TRABELSI

      Hi,

      Great work!! really 🙂

      But I didn't really get the relationship with Cloud ?

      thanks

      Author's profile photo Alessandro Iannacci
      Alessandro Iannacci
      Blog Post Author

      Thank you 🙂

      The relationship with Cloud is that this framework leverage cloud-based API (also called Mirror APIs) available to manage the google glasses timeline (that is in the google cloud).

      Author's profile photo Alessandro Iannacci
      Alessandro Iannacci
      Blog Post Author

      Flow diagram of the demo report

      /wp-content/uploads/2014/09/diagram_553261.gif