Android noob trying to figure out how exactly to do this. The goal is simple: grab an image file from the web (with a URL) and put that image onto a Google Glass card.
I have a function from this question that creates a drawable from a web url.
However, when I try to create a Google Glass card, the method card.AddImage(uri) requires a URI. I have a drawable object created from the method referenced above - how do I put this drawable object onto the card?
Is there a way to extract the URI from the drawable object? Most of the questions here deal with extracting the URI of a local resource, and since this drawable object was created "on the fly" during execution, I'm not sure how to apply URI.parse in such a situation (I don't have an absolute path to the resource).
Is this even the right approach? Should I be creating a drawable, or is there a way to retrieve the image strictly using a URI of that web address?