waleedAhmad1 / google-glass-api

Automatically exported from code.google.com/p/google-glass-api
0 stars 0 forks source link

GDK Low-Frequency LiveCard documentation issue #517

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I ran into an issue with the GDK Low-Frequency LiveCard docs. The call 
mLiveCard.setViews(mLiveCardView); should be before 
mLiveCard.publish(PublishMode.REVEAL); in onStartCommand. Also, in the same 
block, the comment on adding the PendingIntent to the LiveCard should include 
some reference to the fact that LiveCards require an intent to be attached to 
them for them to be published. 

Docs: https://developers.google.com/glass/develop/gdk/live-cards

Suggested change (lines 24, 31-32): 
https://gist.github.com/emil10001/65b686ab14c3130b5430

Original issue reported on code.google.com by e.john.f...@gmail.com on 13 May 2014 at 7:07