So I'm publishing a Live Card on Google Glass using the GDK, but I can't work out a way to unpublish the card after I publish a new one. If I don't it goes back to the clock screen and looks bad.
Here's my liveCard Publishing, can you select an already active card and delete it later? I expect this is a logic problem but I can't quite get my head around it.
public void makeNotificationCard() {
RemoteViews aRV = new RemoteViews(this.getPackageName(), R.layout.card_text);
mNotCard = mTimelineManager.createLiveCard(LIVE_CARD_ID);
aRV.setTextViewText(R.id.price, bigNum);
aRV.setTextViewText(R.id.price2, littleNum);
aRV.setTextViewText(R.id.merchant, shop);
mNotCard.setViews(aRV);
Intent mIntent = new Intent(this, MainActivity.class);
mIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
mNotCard.setAction(PendingIntent.getActivity(this, 0, mIntent, 0));
mNotCard.publish(LiveCard.PublishMode.REVEAL);
}