Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

refresh rate for insert/update for subscriptions? rate,quantity, etc

I have questions related pushing messages to a user.

Here is the use-case.

A user is walking inside a wifi enabled warehouse and we would like to use the glasses to send critical information and warnings about the components in that building which required the user to interact with the component(s).

We have used push notifications in android devices with ok results, but with a live hud I would like faster updates.

Basically we will send something like this to the user

 {
"html": "<article>\n  <section>\n    <strong class=\"red\">ALERT </strong>13:10  device            ABCD tolerance failure. \n    </p>\n  </section>\n</article>\n",
 "notification": {
"level": "DEFAULT"
 } 
}
  1. How quickly can we get the information to the device?
  2. What is the update rate? If we see an alert from a machine can, how quickly can we refresh the user of its status.
  3. Is there some type of flood protection that would cause us grief?
  4. I assume native api will have more options, such as polling or some type of custom subscription service which we could use for faster updates than google's service. Is this correct?

Thanks Nick

like image 930
Nick Tullos Avatar asked Nov 03 '22 21:11

Nick Tullos


1 Answers

This is not something that is expected to be done with the Mirror API. The GDK is where you would want to do this and they are taking feature requests. You might want to add your use case to this thread:

https://code.google.com/p/google-glass-api/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Status%20Priority%20Owner%20Component%20Summary&groupby=&sort=&id=75

To answer some of your other questions:

1 - Mirror API card pushes happen within seconds

2 - Seconds

3 - You are currently limited to 1000 card pushes a day per developer account, so that would be shared across all your users

4 - Curently there is no supported way to do that

As a final thought, if you really want to do this without official support, you could watch this video which shows you how to run "normal" android apk's on Glass. It is a presentation from Google I/O 2013:

http://www.youtube.com/watch?v=OPethpwuYEk

like image 119
Mark Scheel Avatar answered Dec 28 '22 23:12

Mark Scheel