Android noob is trying to figure out exactly how to do this. The goal is simple: grab an image file from the Internet (with a URL) and place it on a Google Glass map.
I have a function from this question that creates a popped from web url.
However, when I try to create a Google Glass map, the card.AddImage (uri) method requires a URI. I have a paintable object created from the method mentioned above - how can I put this paintable object on a map?
Is there a way to extract the URI from an object object? Most of the questions here are about retrieving the URI of a local resource, and since this paintable object was created “on the fly” at runtime, I'm not sure how to use URI.parse in this situation (I don't have an absolute path to the resource).
Is this even the right approach? Should I create drawings, or is there a way to get the image strictly using the URI of this web address?
source
share