BoazGarty
BoazGarty

Reputation: 1446

Send image from Google Glass to Android phone

I would like to create an app that will show image captured from Google glass. After I take a picture on glass I want do some image filtering on my device and show the image on some activity, after the application will send result Ok\fail back to glass. Can It possible to create some client\server app with glass, maybe a service on the phone that will receive the image and run activity that will send result back to glass?

code samples will be helpful.

Upvotes: 1

Views: 1007

Answers (1)

ErstwhileIII
ErstwhileIII

Reputation: 4843

You have noted that using the Google Mirror API to create your application is not an option for you. (There is even a sample application "add a cat to that" that will do this (here). That sample application receives a picture, adds a cat to the picture on the server side, and returns the adjusted picture to Google Glass.)

Currently direct communication between Glass and your phone (Android or IPhone) is not supported (see requested enhancement issue 272 here).

That leaves you with one design pattern available - communication through the cloud. You would need to use the Glass Developers Kit, take the picture and post to a server "in the cloud"; while your Phone app would need to be monitoring server for a new picture (or use server side code to trigger an alert to your phones application).

Upvotes: 3

Related Questions