Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't insert card in timeline

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

like image 542
Jul Avatar asked Nov 12 '22 18:11

Jul


1 Answers

This feature was added in XE12 / release 2 of the GDK.

Note that setInfo() is now setFootnote().

like image 99
squidpickles Avatar answered Jan 04 '23 01:01

squidpickles