I'm not able to insert a card into the user timeline using the GDK. My code is very simple :
TimelineManager timelineManager = TimelineManager.from(this);
Card card = new Card(this);
card.setText("Text").setInfo("Info").addImage(R.drawable.ic_launcher);
timelineManager.insert(card);
The issue returned by the insert method is the following :
Caused by: java.lang.IllegalArgumentException: Unknown URL content://com.google.android.glass.timeline/past_timeline_table
Is anyone also having this issue?
Julien
This feature was added in XE12 / release 2 of the GDK.
Note that setInfo()
is now setFootnote()
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With