6

I want to create an VectorDrawable from a remote SVG file (ie a URL), within my app (not in Android Studio). After a bit of searching, I have yet to find a way to do this programmatically, is there even a way to do this?

Any help would be appreciated.

Paul LeBeau
  • 91,047
  • 8
  • 141
  • 167
  • Why do you need to do it this way? Can you describe your use case? Perhaps we can suggest an alternate solution to your original problem. – Paul LeBeau Nov 02 '17 at 10:39

1 Answers1

-1

First yo need to download the resource like a file or InputStream class type.

After that, you must transform to a graphic class. To do that I found this library: Library tutorial

Good Luck!

pablopatarca
  • 632
  • 6
  • 10